DEV Community

acode123
acode123

Posted on • Originally published at freetechnologyhelp.com

3 Techy pranks to pull on your mates(Or your cranky boss😛)

Note

Before we start, I would like to apologise for my absence during the past few days. By the way, here is a link to my blog, which you may visit after reading this post.
Link to my blog

What better way to show your digital skills than from an expertly crafted prank? Today, I will be sharing 3 of my most cheeky and creative pranks that I have personally used multiple times to prank my friends.

The Spinning Web Page - Prank 1

Wait, what is happening to my laptop, everything is spinning! I can't do anything, what shall I do, who is behind this?

That will be exactly what your victim would be thinking when you are done with them.

Step 1:

When they are not paying attention, sneak up to their laptop, open up their browser on any tab(if not already opened), right-click(on windows) or double tap(on mac) to open up the browser context menu. Now select inspect from the list of options.

Step 2:

Select the console from the top list of options.

List of options

Step 3:

Now it's the fun part, copy this code to the console. And HIT ENTER!

(function({document.documentElement.style.transitionDuration="60s";document.documentElement.style.transitionTimingFunction="ease-in";document.documentElement.style.transform="rotate(360000deg)";}());

Step 4:

Now close the inspect menu to hide the evidence!

Closing the inspect menu

Grabify - Prank 2

In the end, if all is done correctly, you will know every juicy detail about your target(victim). After that, you will slowly slip the information you gathered bit by bit. Your target would wonder how you got all the information about them.

Step 1:

Go to https://grabify.link/

Step 2:

Enter your link into the input box, then click the create URL button. After that, agree to the terms of conditions that pop up.

Step 3:

Turn on the smart logger option, copy the link under "New link" and send it to your friends.

When your friends receive your surprise link and click on it, you will have all the information about them you will ever need.

Disappearing Mouse - Prank 3

What can you do with the power to delete your friend's mouse? Not this kind of mouse🐁, but your friend's computer mouse.

Step 1:

Similar to the first prank, when your friend is not paying attention, open any browser, if not already opened. Right-click on any tab on the browser, then select inspect.

Step 2:

Now select console from the list of options as shown below:

List of options

Step 3:

After that, copy this into the console window:

(function(){var x = document.getElementsByTagName("*"); for (i = 0; i < x.length; i++) {x[i].style.cursor = "none"};}());

Step 4:

Now, close the popup(inspect) window to erase the evidence!

Closing the inspect menu

Conclusion:

I hope you have fun with the pranks provided above! Have a lovely day!

Top comments (3)

Collapse
 
ben profile image
Ben Halpern

I am personally the author of this chrome extension that turns every image on every webpage into the same picture of Dave Coulier.

Dave Coulier

The extension is from 8 years ago and is a little flakey when I just installed it and tested it. It was a quick-and-dirty approach in 2014, and today is even more flakey due to a much more asynchronous web. If I were rewriting it today I'd take a much different approach.

... But anyway, the best way to use this type of extension is as a prank on an unsuspecting friend. It can act as a good lesson in personal security to always shut your laptop when you walk away.

Collapse
 
acode123 profile image
acode123

I agree with you, the internet has changed quite a bit since 2014.

Collapse
 
acode123 profile image
acode123

Thanks for simplifying the code, would you mind if I put the updated code onto the post?