In recognition (but definately not celebration) of COVID-19, I have decided to create a computer virus. Although it is not technically a virus in the sense that is does not copy itself or target a specific piece of data in your device, it will shut your computer down, which can be annoying, frustrating, and deemed as a "malicious motive". If you are planning on initiating the "virus" for experimental purposes, that is exactly what this site was made for, but even if you aren't feel free to read the information about it below.
This virus is intended to be used for experimental and testing purposes ONLY. Any repoduction of this code in part or in whole with malicious intent will NOT be tolerated. For amatuer coders looking to recreate a project similar to this one, it is appreciated if you email me at scripterofthenile@gmail.com for permission. Here is the main source code that causes the shut-down:
while (true) {
location.reload();
}
To anyone that does not script in JavaScript, this probably looks like just a mash-up of IT terms, but in reality it isn't that complicated. Basically, the command "location.reload()" is put into a while-true loop, which causes the page to be reloaded an infinite amount of times. Since the commands succede each other almost instantly, the browser lags out, and the computer undergoes a hard shut-down. It will take about 5-10 minutes for your device to come back to functionality, but I recommend taking your computer's capabilities into consideration, because if you are running a 1960's vacuum tube computer, who knows if that baby will come back online. Below is an outline of the virus' impacts in a easy, step-by-step guide.