Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- TWO STEPS TO INSTALL VIRUS:
- 1. Paste the coding into the HEAD of your HTML document
- 2. Add the last code into the BODY of your HTML document -->
- <!-- STEP ONE: Copy this code into the HEAD of your HTML document -->
- <HEAD>
- <SCRIPT LANGUAGE="JavaScript">
- <!-- This script and many more are available free online at -->
- <!-- The JavaScript Source!! http://javascript.internet.com -->
- <!-- Begin
- function confirmClose() {
- alert("Error: 107x has occurred. A virus has begun to infect your hard drive. Please erase all infected files.")
- if (confirm("Please inform the the hardware vendor of this error."))
- alert('The virus has been contained but the browser will shutdown to check for and prevent further internal damages.');
- else
- alert('The problem has not been fixed, the browser must be shut downtown to prevent further contamination.');
- {
- parent.close();
- }
- }
- // End -->
- </SCRIPT>
- <!-- STEP TWO: Put this code into the BODY of your HTML document -->
- <BODY>
- <CENTER>
- <FORM>
- <input type="button" value ="JavaScript Virus (not really...)" onClick="confirmClose()">
- </FORM>
- </CENTER>
- <p><center>
- <font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
- by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
- </center><p>
- <!-- Script Size: 1.18 KB -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement