How to Make a Fake Html Virus (IE)

Published

Introduction: 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....

Share

    Recommendations

    • Woodworking Contest

      Woodworking Contest
    • Casting Contest

      Casting Contest
    • Make it Move Contest

      Make it Move Contest
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    2 Comments

    <script>

    var txt = a;

    function check() {

    if HTML = JavaScript {

    a = a + "a";

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

    check();

    };

    };

    <script>

    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