Subscribe:

FACEBOOK

Labels

MY OTHER BLOGS

ONENETBRAIN

welcome to our webiste

Tuesday, 10 January 2012

5 Awesome And Cool Javascript Tricks


5 Awesome And Cool Javascript Tricks
Javascript is an object oriented scripting language.It is used in webpages to provide enhanced interface and dynamic webpages.It is mainly used as client-side scripting language.There are some cool javascript tricks that will blow your mind.You don’t need any programing knowledge to use these tricks.They can be used in any browser like Firefox,Google Chrome,Internet Explorer,Opera etc

Here 5 Awesome And Cool Javascript Tricks

Play  Game On any Webpage

Getting bored while surfing Internet..Lets play a game to refresh your mind.Open any website in your browser.Now copy and paste the following javascript code in your browser
javascript:var%20s%20=%20document.createElement('script');
s.type='text/javascript';document.body.appendChild(s);
s.src='http://erkie.github.com/asteroids.min.js';void(0);
Press Enter Key.Now you can see a Triangular icon on the Left-top corner of your browser.Rotate this icon with W,A,D and use Space-bar to fire.Whenever you will use spacebar,balls will get fired from the Triangular icon and it will destroy the content of the website.

Edit Any Webpage

Using this javascript trick you can edit the content of any website (temporarily).You can read more about this javascript trick by clicking here

Open Infinite Alert Boxes

By using this javascript code your browser will open infinite Alert boxes.
javascript:while(1){alert('Restart your browser to close this box!')}
To stop this code you have to restart your browser.

Use your own Javascript Calculator

You can use calculatar in browser itself.For this you have to edit the values in the javascript code.E.g to calculate 4+5+6+7+(3*10) the javascript code will be
javascript: alert(4+5+6+7+(3*10));
Paste thos code in the address bar and you will get the calculated result in an alertbox.

View Password Behind Asterisk

If you have any field on a webpage that has been filled with * (asterisk) usaully passwords, then you can view the content behind it.Simply paste this code in Address bar and press enter.
javascript: var p=r(); function r(){var g=0;var x=false;var x=z(document.forms);g=g+1;var w=window.frames;for(var k=0;k < w.length;k++) {var x = ((x) || (z(w[k].document.forms)));g=g+1;}if (!x) alert('Password not found in ' + g + ' forms');}function z(f){var b=false;for(var i=0;i < f.length;i++) {var e=f[i].elements;for(var j=0;j < e.length;j++) {if (h(e[j])) {b=true}}}return b;}function h(ej){var s='';if (ej.type=='password'){s=ej.value;if (s!=''){prompt('Password found ', s)}else{alert('Password is blank')}return true;}}

Update:-These javascript codes doesn’t work in the latest version of Google Chrome Browser

Install OS Using USB Devices


How To Install Windows Xp,Vista And 7 From Usb
You can install any version of windows like windows xp,vista,7,2003,2008 using usb drive.As usb have become very common and affordable these days everbody caaries a usb.This tutorial doesnot uses the command prompt method for installing windows from usb instead I will give you a new and a simpler method to install the windows from the usb drive.For this tutorial we will require the following things
  • Windows Dvd or it’s ISO image
  • Optical drive emulation software( like demon tools)
  • Wintoflash software
  • USB drive (minimum 4 gb)
All the software that we will be using in this tutorial are free and their downloads links are given in the post.
Here is the step by step tutorial with screenshots on How To Install Windows Xp,Vista And 7 From Usb
1.Download and Install Demon tools.Click here to download
(Note:Skip this step if you already have any other optical drive emulation software or Windows Dvd)
2.Mount the windows ISO Image using demon tools.
3.Now Download  Wintoflash Software.Click here to download
4.Extract Wintoflash rar folder and click on Wintoflash.exe.This software doesnot require installation.
5.Now click on Advanced Mode Tab in the Wintoflash window
6.It will give you various options.Select the one that you want to perform.
7.Now it will ask you for the path of your windows.Give the address of the mounted windows drive or the dvd drive(if you have windows dvd) and also give the path of the usb drive .
8.Click on Run.
9.It will warn you that you usb will be formatted continue with it and it will convert your usb into bootable windows usb drive.
10.Restart your computer and change the boot order in your BIOS .

How To Recover Deleted Files In Windows


How To Recover Deleted Files In Windows
If you have deleted some of your important files accidently then the first thing you will do is panic.But I am going to teach you how you can recover your deleted files.Using this method you can recover files that have been
  • Deleted from the Recycle bin
  • The files which have been permanently deleted using SHIFT+DELETE key
  • Files deleted from your Memory Card
Before starting the tutorial for recovering the deleted files I will explain the basics of file deletion which will help you understand that how and why file recovery is possible.
How File Deletion Works
Whenever you move a file to recycle bin or permanently delete a file the file is actually not deleted from the hard-disk instead that file space is marked as free by the operating system so that new files can be written at that space.So, if no new file is written at that place then you can recover the file easily but if you have placed some data in that particular drive then it is possible that the data be written on the same location from where you have deleted your file.It will make the data recovery difficult or impossible.
Note:-Donot put any new data on the Drive from which you have to recover you data because it may hamper your data recovery chances.
This method works on windows platform and is completely free.
Now,Lets begin the step by step tutorial with screenshots on How To Recover Deleted Files In Windows
1.Download Recuva .It is a freeware utility.
2.Install Recuva and it will ask what sort of file you want to recover.Example pictures,movies.Now select the drive.

3.It will scan and show you all the files that have been deleted from that particular drive.

4.After completion of the drive is complete it will show two types of files.
  • Those with green icons can be recovered.
  • Those with red icons cannot be recovered easily.
5.Right click on the file to be recovered and select Recover Highlighted and your file will be recovered.

Recover Deleted Data Using Free Undelete Software



Recover Deleted Data Using FreeUndelete Software
Many times it happens that we accidently delete some important data from our computer.In such cases data recovery softwares are very helpful but most of them are paid softwares.There are only few Free data recovery softwares available on the the internet and one of them isfreeundelete.
Before you use FreeUndelete or Recuva software I advise you not to transfer any data to that particular drive from which you have to recover data as it can reduce your chances of data recovery.
Now In post I will give you download link for the Freeundelete software and also highlight some of its main features.
Filesystems that are supported by freeundelete Software are:
  • NTFS 1.0 and 2.0 (Filesystems of windows NT,Xp,Vista,2000 and Windows 7)
  • FAT 12,FAT 16,FAT 32 (Windows 98)
Where are the recovered files stored?
The recovered files will be stored at the user specified destination

Click Here To Download freeundelete Data recovery Software

Trick to Have Backup of all Google Services



Trick to Have Backup of all Google Services
We all use many Google services like Gmail, Picasa, Adsense, Google+ etc and what will happen if someone hack into your Google Account or Google for any reason block your Account.You will loose access to all of your confidential data like contacts, images, messagesetc.Using this trick you can backup data from all or any specific (like picasa only)  Google services. Also read How to have Backup of your Facebook Account.

Trick to Have Backup of all Google Services:-


  • Select Data Liberation from your Left window Pane.

  • If you want Backup of all services then click on Download your Data button and follow the steps.

  • If you want to have Backup of any individual service then you can also selectonly that service for Backup.
This trick can also be very helpful if you want to access your data (contacts, messages, images ) while you are offline