Hey guys put this in your url bar.

Discussion in 'Off Topic' started by The Political Gamer, Jan 14, 2011.

  1. The Political Gamer

    aa The Political Gamer

    Messages:
    4,468
    Positive Ratings:
    1,704
    Code:
    javascript:var spin = function(number){if(number == 360){number = 1;}document.body.setAttribute("style", "-webkit-transform: rotate(" + number + "deg); -o-transform: rotate(" + number + "deg); -moz-transform: rotate(" + number + "deg);"); setTimeout("spin(" + (number + .5) + ")", 250);};spin(1);void(0);
    or this

    Code:
    javascript:void(document.body.setAttribute("style", "-webkit-transform: rotate(-180deg); -moz-transform: rotate(-180deg); filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);"));
    
    Have fun. :)
     
    • Thanks Thanks x 2
  2. HellJumper

    aa HellJumper

    Messages:
    812
    Positive Ratings:
    406
    Can someone do this before me? I'm kinda "iffy" on doing this :p
     
  3. Loc_n_lol

    Loc_n_lol L10: Glamorous Member

    Messages:
    726
    Positive Ratings:
    304
  4. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,535
    Just looking at the code, the first appears that it will make the entire page spin, and the other just turns it upsidedown. I haven't the interest to try it, but it's just javascript, it can't hurt your computer.
     
  5. nik

    nik L12: Fabulous Member

    Messages:
    987
    Positive Ratings:
    283
    definitely did nothing
     
  6. Zhan

    Zhan L5: Dapper Member

    Messages:
    208
    Positive Ratings:
    123
    Hah, these are cute!

    To contribute, here's a bookmarklet that changes all the text on the page to black on white, which is useful for reading text on noisy image backgrounds, or if you just dislike reading white on black.

    Code:
    javascript: (function(){ var newSS, styles='* { background: white ! important; color: black !important } :link, :link * { color: #0000EE !important } :visited, :visited * { color: #551A8B !important }'; if(document.createStyleSheet) { document.createStyleSheet("javascript:'"+styles+"'"); } else { newSS=document.createElement('link'); newSS.rel='stylesheet'; newSS.href='data:text/css,'+escape(styles); document.getElementsByTagName("head")[0].appendChild(newSS); } } )();
    Javascript may not hurt your computer, but it can steal your credit card number with some clever XSS.
     
  7. lana

    aa lana Currently On: ?????

    Messages:
    3,077
    Positive Ratings:
    1,389
    Come back quick reply box! I LOVE YOOOOOOOOOOU! Oh and it's gone...

    I'm so lonely.
     
  8. tyler

    aa tyler snail prince, master of a ruined tower

    Messages:
    5,035
    Positive Ratings:
    4,496
  9. absurdistof

    aa absurdistof

    Messages:
    1,242
    Positive Ratings:
    396
    Hhahaha this is great lol.
     
  10. zpqrei

    aa zpqrei Theme Changer Extraordinaire

    Messages:
    1,067
    Positive Ratings:
    1,139
    Code:
    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);
    All the cool kids do this.
     
    • Thanks Thanks x 8
  11. jpr

    aa jpr

    Messages:
    1,095
    Positive Ratings:
    543
    I'm getting dizzy
     
  12. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,377
    Oh man. There's also one that makes all the elements detach and start swirling around. I wish I had saved that one.
     
  13. Numerous

    Numerous L4: Comfortable Member

    Messages:
    150
    Positive Ratings:
    72
    I disagree with the notion that Java can't "hurt your computer", considering that I'm pretty sure it was a java program that ultimately forced me to use an on-screen keyboard to type just now...
    And no, I do not have a touch screen.
     
  14. Zhan

    Zhan L5: Dapper Member

    Messages:
    208
    Positive Ratings:
    123
    Javascript is not the same as Java.
     
    • Thanks Thanks x 1
  15. Da_Man

    Da_Man L4: Comfortable Member

    Messages:
    173
    Positive Ratings:
    39
    TPG you crazy motherfucker. YOu made my internet go upside down.
     
  16. Godslayer57

    Godslayer57 L8: Fancy Shmancy Member

    Messages:
    573
    Positive Ratings:
    323
    Nothing happened.....OH S*** MY COMPUTER ASSPLODED D:
     
  17. Numerous

    Numerous L4: Comfortable Member

    Messages:
    150
    Positive Ratings:
    72
    Holy crap tf2maps did a barrel roll!
     
    Last edited: Jan 16, 2011
  18. The Political Gamer

    aa The Political Gamer

    Messages:
    4,468
    Positive Ratings:
    1,704
    Code:
    javascript:var h='http://ec2-50-17-2-177.compute-1.amazonaws.com/js/',i,n,ss=['http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js',h+'Renderables.js',h+'Game.js'];for(i=0;i<ss.length;i++){n=document.createElement("script");n.src=ss[i]+'?'+Date.now();document.head.appendChild(n);}
    
     
    • Thanks Thanks x 1
  19. drp

    aa drp

    Messages:
    2,256
    Positive Ratings:
    2,572
    Omg its japan forum edition
     
  20. Numerous

    Numerous L4: Comfortable Member

    Messages:
    150
    Positive Ratings:
    72