These are pretty sick javascript codes/(hacks) if you call them. Copy the codes and paste them onto your browser and hit enter. **SOME OF THEM MIGHT NOT WORK IN GOOGLE CHROME Remember, you can always Press F5 (Refresh) in order to stop and come back to the website.
Calculator: 5+3+2+9-5-3-6+3: Makes a simple calculator that you can use using javacript.
javascript:alert(put your numbers and operation here)
"Flying Images": Automatically detects any images on the sites and starts flying them
Fake Website identifier: Compares your site protocol and hostname and sees if they are same or not. You can use it as a phising site checker.
javascript:alert("The actual URL is:\t\t" + location.protocol + "//" + location.hostname + "/" + "\nThe address URL is:\t\t" + location.href + "\n" + "\nIf the server names do not match, this may be a spoof.");
Annoying Dialogue Box: Pops out a dialogue box that asks you to restart the browser. Press Ctrl+Alt+Delete and then go to application and then select your browser and click End Task on the bottom.
javascript:while(1){alert('Restart your brower to close this box!')}
0 comments on "Cool Javascript Tricks/Codes"
Post a Comment