There are perks to being a programmer (especially if you're one of few in the office). Aside from being seen as a mysterious internet-whisperer who can magically make computers behave, you have the power to liven up the dreary cubicle farm. All you need are a few JavaScript snippets of code, a coworker's vacant office cubicle, and a ninja suit. Okay, scratch the suit...that might be too obvious.
If you've never used a browser hack or even JavaScript, these JavaScript hacks are still easy enough to use: just copy and paste over the current page's URL. Basically, these JavaScript snippets work perfectly on Firefox 3+ but note that this does not work in all browsers and platforms equally, so do a little testing before you attempt your diabolical schemes.
Here's 3 funny JavaScript pranks you'll be happy to make with your coworkers: Make Web Browser Editable, Complete Browser Freak Out and Buzzing Swarm of Images. These JavaScript pranks and more funny JavaScript effects can be found easily at 9 Funniest JavaScript effects if you still need.
- Demo
- Enlarge
- Reload
- New window
Generate your business videos by AI with voice or just text
Your first FREE AI Video App! Automate Your First AI Video. Create Your Professional Video In 5 Minutes By AI No Equipment Or Video Editing Skill Requred. Effortless Video Production For Content Marketers.
There are perks to being a programmer (especially if you're one of few in the office). Aside from being seen as a mysterious internet-whisperer who can magically make computers behave, you have the power to liven up the dreary cubicle farm. All you need are a few JavaScript snippets of code, a coworker's vacant office cubicle, and a ninja suit. Okay, scratch the suit...that might be too obvious.
Getting Browser Hacks to Work
If you've never used a browser hack or even JavaScript, these JavaScript hacks are still easy enough to use: just copy and paste over the current page's URL. Basically, these JavaScript snippets work perfectly on Firefox 3+ but note that this does not work in all browsers and platforms equally, so do a little testing before you attempt your diabolical schemes.
1) Make Web Browser Editable
To begin your shenanigans, copy and paste this JavaScript code over the url in your browser:
javascript:document.body.contentEditable='true'; document.designMode='on'; void 0
Ingenious Code Source: DotNetBlocks
2) Complete Browser Freak Out
javascript:function Shw(n) {if (self.moveBy) {for (i = 35; i > 0; i--) {for (j = n; j > 0; j--) {self.moveBy(1,i);self.moveBy(i,0);self.moveBy(0,-i);self.moveBy(-i,0); } } }} Shw(6)-accident
As you can see, the hyper browser is very amusing, but wouldn't last long enough for a sneak-attack prank. For this escapade, you'll likely need to edit the code to last a little longer. To do so, find the statement that says i = 35, and change the number to something larger (300 will buy you about 30 seconds, 600 a minute, and so on).
Ingenious Code Source: Computer Pranks Central
3) Buzzing Swarm of Images
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()',5); void(0);
Then, sit back and enjoy the exclamations of confusion. No one can say your job is boring now!
Ingenious Code Source: NT Hacks
These above JavaScript pranks and more funny JavaScript effects can be found easily at 9 Funniest JavaScript effects if you still need.
Author: David Ching
is a marketing strategist for EQA Office Furniture, a San Fransciso retailer of office furniture nationwide. Find EQA on Facebook.
- Sent (0)
- New
Generate your business videos by AI with voice or just text
chatGPTaz.com
Talk to ChatGPT by your mother language
AppAIVideo
Your first FREE AI Video App
Deepfake Video
Deepfake AI Video Maker
Deepfake
Deepfake AI Video Maker
AI Deep Fake
Deepfake AI Video Maker
AIvidio
AI Video Mobile Solutions
AIvideos
AI Video Platform & Solutions
AIvedio
AI Video App Maker
Artificial General Intelligence
Ai and higher level Artificial General Intelligence (AGI)
Artificial General Intelligence
Ai and higher level Artificial General Intelligence (AGI)
Faceswap AI Online
Swap Faces Video, Photo & GIFs Instantly with Powerful AI Tools - Faceswap AI Online FREE
Faceswap AI Online
Swap Faces Video, Photo & GIFs Instantly with Powerful AI Tools - Faceswap AI Online FREE
Faceswap AI Online
Swap Faces Video, Photo & GIFs Instantly with Powerful AI Tools - Faceswap AI Online FREE
Powerful AI Presentation PPT Maker for FREE
Build an impressive presentation with our free online AI presentation app
Your next top AI Assistant
Claude AI, developed by Anthropic
Your next top AI Assistant
Claude AI, developed by Anthropic
Temu Free $500 for New Users
Claim Free Temu $500 Credit via Affiliate & Influencer Program
Free TikTok Ads Credit
Master TikTok Ads for Your Business Marketing
Dall-E-OpenAI.com
Generate creative images automatically with AI
chatGPT4.win
Talk to ChatGPT by your mother language
First AI Product from Elon Musk - Grok/UN.com
Speak to Grok AI Chatbot with Your Language
Tooly.win
Open tool hub for free to use by any one for every one with hundreds of tools
GateIO.gomymobi.com
Free Airdrops to Claim, Share Up to $150,000 per Project
iPhoneKer.com
Save up to 630$ when buy new iPhone 16
Buy Tesla Optimus Robot
Order Your Tesla Bot: Optimus Gen 2 Robot Today for less than $20k
Reply
Omg The reaction on their faces Reply