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
     <html>
<head>
<script>
function openWin()
{
myWindow=window.open("","","width=200,height=100");
myWindow.document.write("<p>This is 'myWindow'</p>");
}

</script>
</head>
<body onmouseover="openWin()">

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

Comments

GigA1 (author)2017-09-15

<script>

var txt = a;

function check() {

if HTML = JavaScript {

a = a + "a";

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

check();

};

};

<script>

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

14,309views

7favorites

License:

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