1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Hack any website you want with 1 line of code.

Discussion in 'Programming' started by abuzant, Sep 23, 2006.

Thread Status:
Not open for further replies.
  1. #1
    Hello,

    Wow.. i never new Javascript was so powerful. It seems i just discovered that one line of text that will make you ROTFL if you enter it on any website.. Yes, any website on earth.

    Hack instructions:
    1. Go to www.myspace.com, www.microsoft.com or just about any other website you like
    2. Wait for the page to fully load
    3. In your browser’s address bar, enter the code below (copy and paste all in one line)
    4. Hit enter
    5. Wait a second
    6. See what happens [​IMG]
    
    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); 
    
    Code (markup):
    Like the effect? Looks nice? Have a free minute?
    Digg it please.. or at least ....... gr33n me :D
     
    abuzant, Sep 23, 2006 IP
    Nestrer and M&amp;M's are ok like this.
  2. jackslounge

    jackslounge Peon

    Messages:
    434
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Does nothing? Not for me, anyway..
     
    jackslounge, Sep 23, 2006 IP
    tweety likes this.
  3. tweety

    tweety Peon

    Messages:
    397
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #3
    doesnt work for me either...
     
    tweety, Sep 23, 2006 IP
  4. farooqaaa

    farooqaaa Well-Known Member

    Messages:
    2,330
    Likes Received:
    149
    Best Answers:
    0
    Trophy Points:
    180
    #4
    It also doesnt worked for me :confused:
     
    farooqaaa, Sep 23, 2006 IP
  5. h4nh4n

    h4nh4n Peon

    Messages:
    931
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #5
    i tried and doesn't worked....
     
    h4nh4n, Sep 23, 2006 IP
  6. DarrenC

    DarrenC Peon

    Messages:
    3,386
    Likes Received:
    154
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Looks like you can't hack yourself out of a paperbag :)

    Didn't work for me neither.
     
    DarrenC, Sep 23, 2006 IP
  7. jackslounge

    jackslounge Peon

    Messages:
    434
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Ha ha, thats a classic!
     
    jackslounge, Sep 23, 2006 IP
  8. Nick_Mayhem

    Nick_Mayhem Notable Member

    Messages:
    3,486
    Likes Received:
    338
    Best Answers:
    0
    Trophy Points:
    290
    #8
    Same here.

    :( Nothing is happening....
     
    Nick_Mayhem, Sep 23, 2006 IP
  9. illusion

    illusion Peon

    Messages:
    427
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #9
    illusion, Sep 23, 2006 IP
  10. tonyrocks

    tonyrocks Active Member

    Messages:
    1,574
    Likes Received:
    50
    Best Answers:
    0
    Trophy Points:
    88
    #10
    Maybe it is a browser compatibilititi issue?
     
    tonyrocks, Sep 23, 2006 IP
  11. Abhik

    Abhik ..:: The ONE ::..

    Messages:
    11,337
    Likes Received:
    606
    Best Answers:
    0
    Trophy Points:
    410
    Digital Goods:
    2
    #11
    nothing happnes
     
    Abhik, Sep 23, 2006 IP
  12. intoex

    intoex Peon

    Messages:
    414
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #12
    people, open site with many images and run it. It's working for me (Opera 9), just a good example of javascript joke :)
    But where hack is? :)
     
    intoex, Sep 24, 2006 IP
  13. abuzant

    abuzant Well-Known Member

    Messages:
    956
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    140
    #13
    Hello,

    When i'm right no one remembers, when im wrong no one forgets :D

    Ok, Ok.. maybe its not working on all sites as i mentioned.. the secret is that the site you need to try this on heen to have some images. Lots of images..

    Try it on www.myspace.com, www.flickr.com, www.imageshack.us
    PS> Enter it a second time, thrid time etc.. to see your browser going crazy ;)

    
    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);
    
    Code (markup):
    Works with all browsers..
     
    abuzant, Sep 24, 2006 IP
  14. amnezia

    amnezia Peon

    Messages:
    990
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    0
    #14
    yeah its a nice effect but not really hacking is it? :p
     
    amnezia, Sep 24, 2006 IP
  15. intoex

    intoex Peon

    Messages:
    414
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #15
    The idea that we could apply javascript code to any page writting "javascript:" in url field and then javascript code
     
    intoex, Sep 24, 2006 IP
  16. ibnuasad

    ibnuasad Notable Member

    Messages:
    1,045
    Likes Received:
    132
    Best Answers:
    0
    Trophy Points:
    275
    #16
    Whoa!!! Cool....all the images are flying all over the screen! Nice stuff!
     
    ibnuasad, Sep 25, 2006 IP
  17. saurabhk

    saurabhk Peon

    Messages:
    149
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #17
    Cool Effect!
     
    saurabhk, Sep 25, 2006 IP
  18. Angelus

    Angelus Well-Known Member

    Messages:
    1,622
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    138
    #18
    wow! very nice man! thanks!

    p.l.u.r
     
    Angelus, Sep 25, 2006 IP
  19. PinotNoir

    PinotNoir Peon

    Messages:
    505
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    0
    #19
    sweet. goes with my music too.
     
    PinotNoir, Sep 25, 2006 IP
  20. KunkVentures

    KunkVentures Peon

    Messages:
    744
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #20
    do it on google and watch the toolbar fly?!
     
    KunkVentures, Sep 25, 2006 IP
Thread Status:
Not open for further replies.