Introduction: How to Make a Fake Html Virus (IE)

Picture of How to Make a Fake Html Virus (IE)

Creating an html fake virus is very simple...just need to learn some javascript...
1. Open notepad...
2. Type the following code
function openWin()
myWindow.document.write("<p>This is 'myWindow'</p>");

<body onmouseover="openWin()">

3. Save it with extension 'htm' or 'html'.
4. Open it using IE..
I don't know whether it works with other browsers....


GigA1 (author)2017-09-15


var txt = a;

function check() {

if HTML = JavaScript {

a = a + "a";

console.log("The World is Destroyed");





unkown_user1911 (author)2016-12-03

It works in google chrome.
Also, is there a way to make the window pop up in random locations, mine is just in the one spot

About This Instructable




More by Arjun Palakkazhi:How to make a fake html virus (IE)
Add instructable to: