Log in

View Full Version : Fun tricks



techno_race
04-28-2007, 07:13 PM
1. Flying Images
This makes most images on most webpages fly around the screen.
Go to almost any webpage with images. Try to go for one with a lot of images. :D
When the page is done loading, put this in the address bar:
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.images; 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; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5}R++}setInterval('A()',5); void(0);
and press Enter (or Return on Macs). Have fun!
This works in IE and FX.

2. Bookmark the Internet
This puts the almost every page in the world in your bookmarks by a link called "Internet."
Go to http://www.google.com/search?q=e
IMPORTANT: DO NOT USE DOGPILE!!! IT DOESN'T WORK!
Bookmark the page in your browser directly in your Bookmarks folder as "Internet."
When you go to that bookmark, it goes to a search page with 3,990,000,000 results. It also tells you that in mathematics, e = 2.71828183. How convenient. :p

3. Where AM I?
This tells you the exact location of the page you are at in a dialog box.
Once my computer backed up and the address in the address bar didn't change. This tells you the exact location of the page you are at in a dialog box.
To do this:
Put this in your address bar:
javascript:var exactlocation = window.location; alert('You are at: ' + exactlocation)
and press Enter (or Return on Macs).

4. Bomb your Site
This tells people that your page generated errors and tells them to blow up their computer.
REALLY FOOLS COMPUTER NEWBIES!
Easy setup.
Put this in your <body> tag:
onload="var browser = navigator.appName; var yourpage = window.location; alert(yourpage + ' has crashed ' + browser + '. Please blow up your computer.')"
To test the effect in any page, put this in your address bar:
javascript:var browser = navigator.appName; var yourpage = window.location; alert(yourpage + ' has crashed ' + browser + '. Please blow up your computer.')
then press Enter (or Return on Macs).

techno_race
04-28-2007, 10:43 PM
Notes: #1 can't be stopped without reloading. It can me very annoying if you do it on the Google homepage and click the "more" menu.
On #4, NS says it's IE and FF says it's NS.

tech_support
04-29-2007, 04:07 AM
Hmm... How about this one?
http://www.google.com/search?hl=en&q=answer+to+life&#37;2C+universe+and+everything&btnG=Search
It answers "42"

djr33
04-29-2007, 05:37 AM
The flying images one is an amusing trick... nothing more.
The rest are stupid.

techno_race
04-30-2007, 12:28 AM
Step one: make a page with iframes all over it that go to someone's favorite sites.
Step two: Put a link at the top of it that says "Click here!" on it that goes to:
javascript:var a = ' id'; var b = ' are'; var c = "Yo"; var d = "iot."; var e = "u"; var f = " an"; document.images.visibility = c +e + b + f + a + d + '<a href="http://www.servererror.net"> Back to what you were doing before you got this error</a>'
Step three: Set it as that person's homepage.
Have fun!

Or, test it here. Put this in your address bar:
javascript:var a = ' id'; var b = ' are'; var c = "Yo"; var d = "iot."; var e = "u"; var f = " an"; document.images.visibility = c +e + b + f + a + d + '<a href="http://www.servererror.net"> Back to what you were doing before you got this error</a>'
and press Enter and we should know what that is on Macs by now. :rolleyes:

:D:D:D

djr33
04-30-2007, 06:15 AM
Just for the record, for those who can't figure out 'return' = 'enter' (as if any touch typist would even notice the difference), they're now kind enough to put both words on the key.

pcbrainbuster
04-30-2007, 07:16 AM
Though I do know what return is, I can't figure out why they called it return a the enter key takes you forward and not backwards...

djr33
04-30-2007, 07:24 AM
Short for carriage return.
and "enter" makes sense? It's used so frequently it seems to, but that only works, kinda, in the sense of entering data and pressing the key for ok, but no sense in terms of a return.

dgnara
04-30-2007, 11:25 AM
Though I do know what return is, I can't figure out why they called it return a the enter key takes you forward and not backwards...

Because before the internet..
it will make you go back to the begining of the sentence (to type a new one).. :P

jscheuer1
04-30-2007, 11:58 AM
Well, return means something like enter in javascript. I think the terms come from the early days of computing when that key actually did that.

Twey
04-30-2007, 12:04 PM
Yes, the enter key is intended to mean something like "data entry completed." It also performs the same function as the carriage return key on a typewriter, sending the cursor back to the beginning of the line. Thus, "return."

That latter is actually the origin of the \r\n newline convention on DOS/Windows... \r sends the cursor back to the beginning of the line, then \n sends it down a line. Nowadays, of course, the two functions are rarely seen apart, and most programs wouldn't know what to do with a lone \r, so there's really no need for that extra character per line.

techno_race
05-05-2007, 06:39 PM
Uhh... OK, but i have an ancient iMac (orange). Back when they had circular, one-buttoned mice and keyboards with USB ports, no F13-15 and a power button. It's a dual-boot OS 9.2/OS X and I've obviously had it since 2005 because that's when the files are dated. I just dug it out of a load of...stuff :p outside yesterday and it still works.
There was a "return" key in the main part of the keyboard. On the numberpad, it says "enter." Why did they do that? They do exactly the same thing! :confused:

djr33
05-05-2007, 10:12 PM
Data entry from the keypad... numbers. "1+1 ... enter" displays 2.
return is, again, like a typewriter.