Cool JavaScripts that you must Try on your WebBrowser!

Cool JavaScripts that you must Try on your WebBrowser javascript girlhere’s i am sharing with you some cool pieces of codes that you must try on your browser. Interestingly the JavaScripts listed below can be used to perform malicious activity or to spread SPAM by just modifying them or combining with few extra code. for example we have already seen the “Rotating images Facebook Spam” some days back. So Guys Before trying out any JavaScripts on any Websites, you got to first examine the code properly and see that it is not calling any external Script or contains any malicious code.

All the JavaScripts listed below are 100% safe and tested. use of these java scripts will not harm your PC and will not affect your ongoing processes. Copy-paste any javascript in the Address bar of your Browser and hit ‘enter’. To Stop the JavaScript actions, Just Refresh the current Tab of your Browser.

-JavaSript to Edit any Webpage!

The Below piece of JavaSript code lets you edit any Webpage in realtime. With Firefox, you can even edit and save the modified pages to your PC.

javascript:document.body.contentEditable='true'; document.designMode='on'; void (0);

-Webpage Content Killer -Destroy any Webpage.

Now this is my Favorite piece. This code lets you kill any objects in the webpage. This is fun just like playing ‘Asteroids’ game. Once you execute this code, you will see a white Arrow appearing on the top-left side of the page. This arrow acts as a TANK. To fire use ‘Space bar’, to move your Tank just use 4 ‘Arrow keys’. ‘Esc’ to stop the game.

javascript:var%20s%20=%20document.createElement('script');s.type='text/javascript';document.body.appendChild(s);s.src='http://img.hacker9.com/hacker9/asteroids.min.js';void(0);

-The Calculator

In case if you are very quick in coding and don’t wanna use your inbuilt calculator, you can always use the below JavaScript to get the quick answer within your browser. you can replace 34343+3434-222 with expression of your choice.

javascript: alert(34343+3434-222);

-Floating or Dancing Images in Webpage

This piece of JavaScript pulls off all the images from any web page and rotates or float’s them in a circular ordr. The best place to test this Script will be a website with many images(for eg: any photo gallery or albums page) (Scroll Up to see the Action)
note: look carefully in the above code, its rotating the HTML “img” tag. Just replace it with “a” or “p” and watch some links or text rotate instead of images.

javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName("img"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',5); void(0);

-Shake your Browser Window!

This JavaScripts literally shakes your Browser window, must try.

javascript:function Shw(n) {if (self.moveBy) {for (i = 35; i > 0; i--) {for (j = n; j > 0; j--) {self.moveBy(1,i);self.moveBy(i,0);self.moveBy(0,-i);self.moveBy(-i,0);} } }} Shw(6)

-Reveal Password Behind Asterisk(*****) Using Javascript

This code reveals the hidden password string behind asterisk. to try this open any login page and type in your password. Paste the below javascript in address bar and press enter. This Script is of real use when tried on your friends PC.

javascript: alert(document.getElementById('Passwd').value);

-Java Script to Find Spoof Websites!

This Script lets you know the actual URL and the address URL of the page. and thus helps you identifying Spoof Websites!

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.");

-Select All JavaScript for Facebook users.

This Script lets you select all your friends while Sending Invitations. You are always welcome to Try this Script on Our Facebook Page!

javascript:fs.select_all()

And Finally make sure you also try this:

javascript:function reverse() { var inp = " /m\ .gnirolpxE peeK !setadpu liame eerf ruo ot ebircsbus uoy erus ekaM .su htiw hcuot nI yatS !sihT deyojne uoy epoh I "; var outp = ""; for (i = 0; i <= inp.length ; i++) { outp = inp.charAt (i) + outp ; } alert(outp) ;}; reverse();

Article by Ashwin Shahapurkar

[Founder] - Quiet type and Creative Guy who enjoys creating and exploring new trends on the Internet. He's currently pursuing B.E. in “Information Technology”. Send an email
Windows phone 8 – New features and Handsets! How to Block Unwanted SMS on Android phone? Candice Boucher wallpapers for Samsung Galaxy Mobiles Mobile Spy App for android, iphone, Blackberry & Nokia
Subscribe to Comments RSS Feed in this post

14 Responses

  1. very cool, thanks for sharing

  2. how to use this scripts please send me the solution. step by step.

    • just copy the script and paste it in the address bar of your Browser (where u type www) and hit enter. to stop the script just refresh the page.

      • Its not working .. :( .I juss enterd d uname passkey and the copied my javascriot @ address bar … but it just linked me to the google search results of the link :_
        javascript: alert(document.getElementById(‘Passwd’).value);
        please help and tell me it in detail .. please ;)

  3. Hey ashwn i tried the followin scripts re
    its amazin
    i liked it very much

    thnx

  4. these are not not working in my browser , sometime working , sometime not working, what to do ??

    • i bet you are using google chrome?? ..if yes, you need to enable Javascript under settings tab. ..or else try it on mozilla firefox…it works fine.

      • i checked JavaScript of my all browsers is enabled it doesn’t work in any browser , when i using it in chrome or IE it starts google search of that code.
        i m using IE9,Chrome14.0,Firefox6.0

  5. is it possible to save something what i’ve changed on a website by using this javascript >javascript:document.body.contentEditable=’true'; document.designMode=’on'; void (0);….if yes then tell me that code plz…..thankssss

  6. excellent job thank u

    keep doing more

  7. Hey ashwin i used the code for password reaveal but my pc was nt letting it to do its work.so wat to do?

  8. On firefox when i type it in, the all say missing variable name. whats wrong?

  9. only a few work like the dinky little ones, how come the pay pal and the password ones are not working for me, i have tried in internet exployer, google chrome, and mozila foxfire so i need help

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*

x