PDA

View Full Version : Rick Roll Java/HTML Script



Insomniac
28-02-09, 09:36 PM
Hi There,

I think this is in the right section as it is in java but saved as a html code but you get the idea.


Well i havent seen this posted on the forums at all so here it is

now i bet alot of you have been victims of mr rick astley song Never going to let you down on a website that doesnt let you get off and forces you to go through that song time and time again.

ok well now its time for payback on your friends....

This script is coded in java and does a variety of stuff...

Ok, when the website URL is entered, this will immediatly change the window into a downsized version and cause it to jump around the corners of the screen......

After the victims realises they have just been rick rolled, the first thing that comes to your head it to get off the site...1 problem. When they do it will spam them with the lyrics of the song in a pop-up textbox.

This will repeat everytime they try to exit the window.

SOLUTION: obviously this needs to be tested by you so you are sure it will work on your friends so, to get off the webpage a ctrl+alt+del and ending the browser process will solve this problem.

For this to fully work, it is ideal that Firefox is used (download here (http://www.mozilla.com/firefox/)), this does still work on IExplorer but the screen doesnt jump or resize.

the sourcecode can be found here : HTML pastebin - collaborative debugging tool (http://pastebin.com/m41c63e43)


Put this code into notepad and save it as index.html,

this can be hosted by a free online service or even XAMP or WinAMP.

Any questions then please reply here.

Live Demo (not always up) - HERE (http://insomniac.kicks-ass.net/lol) <<< Warning, This will make your browser move. you have been warned

have fun :D

mec
08-09-09, 08:19 PM
code is missing from pastebin