Announcement

GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? WE LIVE INSIDE A DREAM. GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? NO MORE SPAM
FRIENDLY REMINDER THAT THE FORUMS ARE DEAD AND THAT THE LIFE OF THE PARTY CURRENTLY RESIDES IN #FAIL #EEFORUMSANARCHY #EEFORUMS #hi ON RIZON.

YO RIZON #HI
it's closing time you don't have to go home but you can't stay here

Advertisement

»  » 

#1 2011-06-26 09:57:33

calculusguy
Failure
Registered: 2011-06-26
Posts: 23
Fails: 12

Javascript Topic

Javascript in your address bar! To use, just copy the javascript, past in your address bar, and press enter!

1a. Edit any website.
javascript:document.body.contentEditable='true'; document.designMode='on'; void 0

1b. Turn off editing.
javascript:document.body.contentEditable='false'; document.designMode='off'; void 0

2a. Rotate pictures in a webpage.
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);

2b. Rotate links.
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("a"); 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);

2c. Rotate text.
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("p"); 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. Shake the window.
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)

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

5. NOOB KILLER!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!(The Browser That Will Not Be Named killer)
javascript:while(1){alert(':)')}

Post more below!

Last edited by calculusguy (2011-07-05 07:03:27)

Offline

#2 2011-07-01 10:42:11

Bobithan
Actually Towwl
Registered: 2011-07-27
Posts: 2,215
Fails: 17

Re: Javascript Topic

Here you go:

Eat the internet!

javascript:var i,s,ss=['http://kathack.com/js/kh.js','http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js']; for(i=0;i!=ss.length;i++){s=document.createElement('script');s.src=ss[i];document.body.appendChild(s);}void(0);

Asteriods!

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

Pure annoyance

javascript:while(1){alert(':)')}

secretsaget.gif

Towel on IRC

Offline

#3 2011-07-01 12:09:30

Different55
The Beanmaker
Registered: 2011-05-18
Posts: 9,143
Fails: 0

Re: Javascript Topic

hehe, nice try. I'm not putting the last one. And even if I did, I could turn it off immediately by checking a little box on the popup. I don't have to wait for the browser to realize what's going on.


Jet fuel can't make dank memes.

Offline

#4 2011-07-01 12:16:19

Bobithan
Actually Towwl
Registered: 2011-07-27
Posts: 2,215
Fails: 17

Re: Javascript Topic

On Chrome you go through just 2 pop-ups then it has a little checkbox to prevent it from happening again. If you are using The Browser That Will Not Be Named, well, you're screwed


secretsaget.gif

Towel on IRC

Offline

#5 2011-07-01 12:18:56

Coolio
That one guy
From: ...Huh. Where am I again?
Registered: 2011-05-18
Posts: 5,354
Fails: 55,555

Re: Javascript Topic

O.o Now I have to restart my pc.

I thought, why would you be screwed with The Browser That Will Not Be Named? So I tried it. NIGHTMARE ON CAMPUS.


L3srd6t.png

Offline

#6 2011-07-05 07:00:37

calculusguy
Failure
Registered: 2011-06-26
Posts: 23
Fails: 12

Re: Javascript Topic

Some of these don't work somtimes
EX. Shake only works if your useing it on a window with one tab.

Offline

Board footer

Jump to

We use Fail. Fail uses FluxBB

[ Generated in 0.018 seconds, 23 queries executed - Memory usage: 572.8 KiB (Peak: 580.47 KiB) ]