| | |
Javascript tricks
| View Poll Results: Do you like pie? | |||
| Yes | | 8 | 53.33% |
| No | | 2 | 13.33% |
| What's pie? | | 3 | 20.00% |
| Pieeeeeeeeeeeeeeee!!!!!!!!!!!!!!!!!!!!!!!!!! =0 | | 8 | 53.33% |
| I like scripts..... | | 7 | 46.67% |
| Multiple Choice Poll. Voters: 15. You may not vote on this poll | |||
![]() |
•
•
Join Date: Jan 2009
Posts: 5
Reputation:
Solved Threads: 0
Ok... First off. I am not talking about javascript tricks for your website. These scripts are just for fun. To make these codes work, all you have to do is copy and paste it into the address bar of your browser window and hit Enter (Yes the little bar in the top that you type in can be used for javascript). Refresh to return to normal.
So here's the scripts!
1. Cool script for editing any website. (Does not affect website to others)
2. Takes all images in the website and rotates then in a deformed oval.If you look carefully in the code, it's rotating the HTML “img” tag. Just replace it with “a” or “p” and watch some links or text rotate instead of images.
3. A calculator. Yes, that's about all i could say about this one. Replace the 12345+1234-123 with anything you want it to calculate
4. Can be used for finding if a website is fake.
5. There's something wrong with this one. It's supposed to shake the browser. So can you help if you know how?
So here's the scripts!
1. Cool script for editing any website. (Does not affect website to others)
javascript:document.body.contentEditable='true'; document.designMode='on'; void 0
2. Takes all images in the website and rotates then in a deformed oval.If you look carefully in the code, it's 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);3. A calculator. Yes, that's about all i could say about this one. Replace the 12345+1234-123 with anything you want it to calculate
javascript: alert(12345+1234-123);
4. Can be used for finding if a website is fake.
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.");5. There's something wrong with this one. It's supposed to shake the browser. So can you help if you know how?
javascript:function flood(n) {if (self.moveBy) {for (i = 200; 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); } } }}flood(6);{ var inp = "(retupmoc ruoy ruoy s'tI).........!!!ekauqhtrae a s'tI"; var outp = ""; for (i = 0; i <= inp.length; i++) {outp =inp.charAt (i) + outp ; } alert(outp) ;}; reverse•
•
•
•
Ok... First off. I am not talking about javascript tricks for your website. These scripts are just for fun. To make these codes work, all you have to do is copy and paste it into the address bar of your browser window and hit Enter (Yes the little bar in the top that you type in can be used for javascript). Refresh to return to normal.
So here's the scripts!![]()
1. Cool script for editing any website. (Does not affect website to others)
javascript:document.body.contentEditable='true'; document.designMode='on'; void 0
2. Takes all images in the website and rotates then in a deformed oval.If you look carefully in the code, it's 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);
3. A calculator. Yes, that's about all i could say about this one. Replace the 12345+1234-123 with anything you want it to calculate
javascript: alert(12345+1234-123);
4. Can be used for finding if a website is fake.
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.");
5. There's something wrong with this one. It's supposed to shake the browser. So can you help if you know how?
javascript:function flood(n) {if (self.moveBy) {for (i = 200; 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); } } }}flood(6);{ var inp = "(retupmoc ruoy ruoy s'tI).........!!!ekauqhtrae a s'tI"; var outp = ""; for (i = 0; i <= inp.length; i++) {outp =inp.charAt (i) + outp ; } alert(outp) ;}; reverse
•
•
Join Date: Mar 2009
Posts: 3
Reputation:
Solved Threads: 0
The code to shake your browser is
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)
Source : http://www.bloganything.net/731/cool...ernet-browsers
Thanks.
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)
Source : http://www.bloganything.net/731/cool...ernet-browsers
Thanks.
![]() |
Similar Threads
- How to disable Back button of IE when executing welcome.aspx page? (ASP.NET)
- suggest a tool to make javascript unreadable (JavaScript / DHTML / AJAX)
- How to disable back button and backspace using Javascript..? (JavaScript / DHTML / AJAX)
- tips & tricks of web development (PHP)
- PHP, ASP, ColdFusion, what's your fav? (IT Professionals' Lounge)
- recommendations for JavaScript learning resources? (JavaScript / DHTML / AJAX)
Other Threads in the Geeks' Lounge Forum
- Previous Thread: Any Anime fans in here?
- Next Thread: If you live in St. Paul....
| Thread Tools | Search this Thread |
advice amazon apple bankruptcy bear beard beijing bot chat children clocks comedy console consoles convert cracked.com daniweb design development disk dlc ebook empty feed financialcrisis fun future game games gaming garbage google grandtheftauto gta gtaiv halo3 happiness hardware hunting information internet java kids knife larnyx life linux love lynx manly marketing merger microsoft neuropathology news nintendo obama odf olympics opinion os outlook parentalcontrol planning playstation population ps3 python research rss school search sims software softwaredevelopment sony source space starteam survey tablet thelostanddamned time timeisonmyside. tinfoil_hat unused usarmy vapid videogames viruses walmart wii windows windows>all windows_wins worldofwarcraft wow xbox xbox360 zomg_conspiracy






