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. Some fun JavaScript to sneak into a coworker's project

Some fun JavaScript to sneak into a coworker's project

Scheduled Pinned Locked Moved The Lounge
javascriptlounge
7 Posts 6 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.
  • G Offline
    G Offline
    grolarbear
    wrote on last edited by
    #1

    setInterval(function(){ var x = document.querySelectorAll('*');x[Math.round(Math.random() * x.length)].innerText = String.fromCharCode(112,101,110,105,115);}, 10000);

    OriginalGriffO W N 3 Replies Last reply
    0
    • G grolarbear

      setInterval(function(){ var x = document.querySelectorAll('*');x[Math.round(Math.random() * x.length)].innerText = String.fromCharCode(112,101,110,105,115);}, 10000);

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #2

      :yawn: :zzz:

      Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      1 Reply Last reply
      0
      • G grolarbear

        setInterval(function(){ var x = document.querySelectorAll('*');x[Math.round(Math.random() * x.length)].innerText = String.fromCharCode(112,101,110,105,115);}, 10000);

        W Offline
        W Offline
        W Balboos GHB
        wrote on last edited by
        #3

        Just a thought - many of us do this to pay for food and shelter for ourselves and families. Messing with someone's code (and the possibility of very bad consequences to their career) seems like a rather ill-conceived method for getting a giggle. Most of me never wants to grow up - I've been rather successful at it, BUT when your holding that first baby appears, your world view has to and will change a great deal.

        Ravings en masse^

        "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

        "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

        G 1 Reply Last reply
        0
        • W W Balboos GHB

          Just a thought - many of us do this to pay for food and shelter for ourselves and families. Messing with someone's code (and the possibility of very bad consequences to their career) seems like a rather ill-conceived method for getting a giggle. Most of me never wants to grow up - I've been rather successful at it, BUT when your holding that first baby appears, your world view has to and will change a great deal.

          Ravings en masse^

          "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

          "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

          G Offline
          G Offline
          grolarbear
          wrote on last edited by
          #4

          Thanks dad! ;P

          1 Reply Last reply
          0
          • G grolarbear

            setInterval(function(){ var x = document.querySelectorAll('*');x[Math.round(Math.random() * x.length)].innerText = String.fromCharCode(112,101,110,105,115);}, 10000);

            N Offline
            N Offline
            Nagy Vilmos
            wrote on last edited by
            #5

            Good luck posting that into git and keeping your job. Or don't MacD's allow flippers near the code base?

            veni bibi saltavi

            J 1 Reply Last reply
            0
            • N Nagy Vilmos

              Good luck posting that into git and keeping your job. Or don't MacD's allow flippers near the code base?

              veni bibi saltavi

              J Offline
              J Offline
              Johnny J
              wrote on last edited by
              #6

              Nagy Vilmos wrote:

              Or don't MacD's allow flippers near the code base?

              Code base? Surely, the only base they have is sauce base??? :doh:

              Anything that is unrelated to elephants is irrelephant
              Anonymous
              -----
              The problem with quotes on the internet is that you can never tell if they're genuine
              Winston Churchill, 1944
              -----
              I'd just like a chance to prove that money can't make me happy.
              Me, all the time

              J 1 Reply Last reply
              0
              • J Johnny J

                Nagy Vilmos wrote:

                Or don't MacD's allow flippers near the code base?

                Code base? Surely, the only base they have is sauce base??? :doh:

                Anything that is unrelated to elephants is irrelephant
                Anonymous
                -----
                The problem with quotes on the internet is that you can never tell if they're genuine
                Winston Churchill, 1944
                -----
                I'd just like a chance to prove that money can't make me happy.
                Me, all the time

                J Offline
                J Offline
                Jorgen Andersson
                wrote on last edited by
                #7

                If you're lucky.:~

                Wrong is evil and must be defeated. - Jeff Ello

                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