DigitalPoint Forums Gone Mad

Discussion in 'General Chat' started by JochenVandeVelde, Dec 23, 2007.

  1. #1
    Hi, I found this funky JavaScript trick.

    Go to http://forums.digitalpoint.com

    Then, delete the URL in the address bar a paste following code in it:

    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()',75); void(0);
    Code (markup):
    Hit enter and haha!

    This works for any website.
     
    JochenVandeVelde, Dec 23, 2007 IP
  2. Agent_Dweeb

    Agent_Dweeb Peon

    Messages:
    5,607
    Likes Received:
    384
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Old trick, all the images go whirly.!
     
    Agent_Dweeb, Dec 23, 2007 IP
  3. sizzler_chetan

    sizzler_chetan Prominent Member

    Messages:
    7,838
    Likes Received:
    664
    Best Answers:
    0
    Trophy Points:
    390
    #3
    Might be old.. but never seen before :D

    Nice one!!!
     
    sizzler_chetan, Dec 23, 2007 IP
  4. Agent_Dweeb

    Agent_Dweeb Peon

    Messages:
    5,607
    Likes Received:
    384
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Also, javascript injection is a nasty thing when used to do some damage
     
    Agent_Dweeb, Dec 23, 2007 IP
  5. coderbari

    coderbari Well-Known Member

    Messages:
    3,168
    Likes Received:
    193
    Best Answers:
    0
    Trophy Points:
    135
    #5
    I also never seen it before :D
    nice javascript trick :D
     
    coderbari, Dec 23, 2007 IP
  6. jkrish41

    jkrish41 Banned

    Messages:
    2,416
    Likes Received:
    111
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Very interesting , I never saw that before!
     
    jkrish41, Dec 23, 2007 IP
  7. ammoun

    ammoun Active Member

    Messages:
    983
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    60
    #7
    Ohhh , nice trick , first time to see , thanks !
     
    ammoun, Dec 23, 2007 IP
  8. getjimmy

    getjimmy Prominent Member

    Messages:
    17,260
    Likes Received:
    1,005
    Best Answers:
    0
    Trophy Points:
    360
    #8
    Seen this before in some orkut community.
     
    getjimmy, Dec 23, 2007 IP
  9. marius_van_marius

    marius_van_marius Banned

    Messages:
    70
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    that's a nice trick :D
     
    marius_van_marius, Dec 23, 2007 IP
  10. lpstong

    lpstong Notable Member

    Messages:
    3,292
    Likes Received:
    216
    Best Answers:
    0
    Trophy Points:
    230
    #10
    Ok I heard about this but never took the time to see the affects. Cool. :cool:

    See what free time does for someone on Sunday mornings. Checks out script effects to DP.
     
    lpstong, Dec 23, 2007 IP
  11. peter_anderson

    peter_anderson Notable Member

    Messages:
    3,382
    Likes Received:
    152
    Best Answers:
    0
    Trophy Points:
    240
    #11
    nice one! see it on google!
     
    peter_anderson, Dec 23, 2007 IP
  12. nicangeli

    nicangeli Peon

    Messages:
    828
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Sweet, never seen it before!
     
    nicangeli, Dec 23, 2007 IP
  13. FreelanceFirm

    FreelanceFirm Banned

    Messages:
    1,058
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Ya very nice indeed.
    Cheers and MERRY CHRISTMAS:)
     
    FreelanceFirm, Dec 23, 2007 IP
  14. wierdo

    wierdo Well-Known Member

    Messages:
    1,646
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    140
    #14
    I've seen it before, but it's still cool.
     
    wierdo, Dec 23, 2007 IP
  15. simnorwebdesign

    simnorwebdesign Peon

    Messages:
    595
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #15
    thats cool
     
    simnorwebdesign, Dec 23, 2007 IP
  16. gult

    gult Peon

    Messages:
    1,388
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    0
    #16
    For some reason, it's not working for me in Firefox :confused:
     
    gult, Dec 23, 2007 IP
  17. nabz245

    nabz245 Well-Known Member

    Messages:
    677
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    110
    #17
    worked for me in ff
     
    nabz245, Dec 23, 2007 IP
  18. weblomoney

    weblomoney Active Member

    Messages:
    144
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    53
    #18
    So many nasty javascripts out there that I will think 100 times before I try it..... and I am still thinking....23 ...24...25.....
     
    weblomoney, Dec 23, 2007 IP
  19. nihangshah

    nihangshah Prominent Member

    Messages:
    5,536
    Likes Received:
    271
    Best Answers:
    3
    Trophy Points:
    395
    #19
    nihangshah, Dec 23, 2007 IP
  20. killaklown

    killaklown Well-Known Member

    Messages:
    2,666
    Likes Received:
    87
    Best Answers:
    0
    Trophy Points:
    165
    #20
    I posted that on DP about a year ago, and people got mad at me because they thought the code hacks them :/

    Thats the same code, dont spam your site.
     
    killaklown, Dec 23, 2007 IP