How to Make a Fake Html Virus (IE)

Intro: 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

    • Tiny Home Contest

      Tiny Home Contest
    • Fix It! Contest

      Fix It! Contest
    • Audio Contest 2018

      Audio Contest 2018

    2 Discussions

    0
    None
    GigA1

    1 year ago

    <script>

    var txt = a;

    function check() {

    if HTML = JavaScript {

    a = a + "a";

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

    check();

    };

    };

    <script>

    0
    None
    unkown_user1911

    1 year ago

    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