Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. A javascript trick

A javascript trick

Scheduled Pinned Locked Moved The Lounge
javajavascripthtmlsecuritytools
25 Posts 10 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Chris S Kaiser

    Say you have a wireless router, and you don't really want to restrict too much, but your neighbor keeps using your bandwidth. Sure you could tighten up the security and kick him/her out, but another option is to setup in your configurations a valid set of ips and mess with the others. One trick is to reverse all the text in the html, but another one could be the injection of some java script. Here's one: 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); Please forgive the horrible formatting. Stuff this in your browser at a site with a lot of images... think ghosts flying. Client side effect only.

    What's in a sig? This statement is false. Build a bridge and get over it. ~ Chris Maunder

    C Offline
    C Offline
    Chris McGlothen
    wrote on last edited by
    #21

    Beauty little piece of chaos. Thanks!


    An American football fan - Go Seahawks! Lil Turtle

    C 1 Reply Last reply
    0
    • C Chris McGlothen

      Beauty little piece of chaos. Thanks!


      An American football fan - Go Seahawks! Lil Turtle

      C Offline
      C Offline
      Chris S Kaiser
      wrote on last edited by
      #22

      Your welcome!

      Lil Turtle wrote:

      Go Seahawks!

      Those poor Cowboys.... such a shame.

      What's in a sig? This statement is false. Build a bridge and get over it. ~ Chris Maunder

      C 1 Reply Last reply
      0
      • C Chris S Kaiser

        Your welcome!

        Lil Turtle wrote:

        Go Seahawks!

        Those poor Cowboys.... such a shame.

        What's in a sig? This statement is false. Build a bridge and get over it. ~ Chris Maunder

        C Offline
        C Offline
        Chris McGlothen
        wrote on last edited by
        #23

        Chris S Kaiser wrote:

        .... such a shame

        {modify} You're not a Cowboys fan are you? {/modify} Yea, we got really lucky and squeaked out of that one. But I'll tell you what, I've never heard a stadium explode like that in all my life. I'm still trying to get my voice back! Next stop Chicago!


        An American football fan - Go Seahawks! Lil Turtle

        C 1 Reply Last reply
        0
        • C Chris McGlothen

          Chris S Kaiser wrote:

          .... such a shame

          {modify} You're not a Cowboys fan are you? {/modify} Yea, we got really lucky and squeaked out of that one. But I'll tell you what, I've never heard a stadium explode like that in all my life. I'm still trying to get my voice back! Next stop Chicago!


          An American football fan - Go Seahawks! Lil Turtle

          C Offline
          C Offline
          Chris S Kaiser
          wrote on last edited by
          #24

          Lil Turtle wrote:

          But I'll tell you what, I've never heard a stadium explode like that in all my life. I'm still trying to get my voice back!

          Hahahahaha! Good for you. ;P Too bad I'm a misplaced Cowboys fan.

          What's in a sig? This statement is false. Build a bridge and get over it. ~ Chris Maunder

          C 1 Reply Last reply
          0
          • C Chris S Kaiser

            Lil Turtle wrote:

            But I'll tell you what, I've never heard a stadium explode like that in all my life. I'm still trying to get my voice back!

            Hahahahaha! Good for you. ;P Too bad I'm a misplaced Cowboys fan.

            What's in a sig? This statement is false. Build a bridge and get over it. ~ Chris Maunder

            C Offline
            C Offline
            Chris McGlothen
            wrote on last edited by
            #25

            It's all good just think how well they'll do next year with a more seasoned Romo and maybe no more of that guy who spends so much time whining to the media.:->


            An American football fan - Go Seahawks! Lil Turtle

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups