here’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();
No related posts.
Get Updates Via:........RSS..... | .....Facebook..... | .....Twitter..... | .....Email




December 17, 2010 at 11:40 am
very cool, thanks for sharing
December 31, 2010 at 5:37 pm
how to use this scripts please send me the solution. step by step.
January 6, 2011 at 1:40 pm
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.
January 19, 2011 at 3:30 pm
Hey ashwn i tried the followin scripts re
its amazin
i liked it very much
thnx
August 24, 2011 at 11:15 am
these are not not working in my browser , sometime working , sometime not working, what to do ??
August 24, 2011 at 1:18 pm
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.
August 24, 2011 at 10:22 pm
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
February 1, 2012 at 3:21 am
on firefox goto tools>Web Developer>Web console and paste the code there. Hope this helps
September 18, 2011 at 11:52 pm
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
November 9, 2011 at 4:47 pm
excellent job thank u
keep doing more
February 6, 2012 at 5:47 pm
Hey ashwin i used the code for password reaveal but my pc was nt letting it to do its work.so wat to do?
March 13, 2012 at 4:36 am
On firefox when i type it in, the all say missing variable name. whats wrong?