Writing / Computers

QHOTD #1: Quickly annoy someone using JavaScript

Quick Hack of the Day Series

Welcome to the Quick Hack of the Day series, a collection of quick & dirty hacks meant for innocent pranks, authorized security testing, and other less benevolent but legal purposes. These hacks are not limited to computer hacking -- they also include chemistry, astronomy, physics, robotics, electronics, music, sociology and anything else that comes to mind.

Quick Hack of the Day #1: Quickly annoy someone using JavaScript

QHOTD #1: Presentation

QHOTD #1: Quickly annoy someone using JavaScript

This quick hack simply displays a message on the screen upon login. It applies to Windows 9x/XP and if modified correctly, Linux running KDE. This hack will cause the following window to come up and keep coming up no matter how times the user tries to close it:

QHOTD #1: JavaScript Prank Pop-Up Window

QHOTD #1: JavaScript Prank Pop-Up Window

Steps:

  1. Open Notepad
  2. Type the following code:
    while (1) {\ alert("Y0u've b33n pr@nk3d!");\ }
  3. Save the file as C:\quick1.js
  4. Drag & Drop the file to Start Menu -> All Programs -> Startup
  5. Reboot the PC

Watch the video on YouTube

Back to blog