Some fun JavaScript to sneak into a coworker's project
-
setInterval(function(){ var x = document.querySelectorAll('*');x[Math.round(Math.random() * x.length)].innerText = String.fromCharCode(112,101,110,105,115);}, 10000);
-
setInterval(function(){ var x = document.querySelectorAll('*');x[Math.round(Math.random() * x.length)].innerText = String.fromCharCode(112,101,110,105,115);}, 10000);
:yawn: :zzz:
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
-
setInterval(function(){ var x = document.querySelectorAll('*');x[Math.round(Math.random() * x.length)].innerText = String.fromCharCode(112,101,110,105,115);}, 10000);
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.
"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
-
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.
"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
Thanks dad! ;P
-
setInterval(function(){ var x = document.querySelectorAll('*');x[Math.round(Math.random() * x.length)].innerText = String.fromCharCode(112,101,110,105,115);}, 10000);
Good luck posting that into git and keeping your job. Or don't MacD's allow flippers near the code base?
veni bibi saltavi
-
Good luck posting that into git and keeping your job. Or don't MacD's allow flippers near the code base?
veni bibi saltavi
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 -
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 timeIf you're lucky.:~
Wrong is evil and must be defeated. - Jeff Ello