[JS] Virus Joke

Discussion in 'Web Programming' started by Waffles, Dec 1, 2007.

[JS] Virus Joke
  1. Unread #1 - Dec 1, 2007 at 12:38 PM
  2. Waffles
    Referrals:
    4

    Waffles Guest

    [JS] Virus Joke

    <!-- 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>

    Code:
    <SCRIPT LANGUAGE="JavaScript">
    
    <!-- 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>

    Code:
    <CENTER>
    <FORM>
    <input type="button" value ="JavaScript Virus (not really...)" onClick="confirmClose()">
    </FORM>
    </CENTER>
     
  3. Unread #2 - Dec 1, 2007 at 1:55 PM
  4. cp
    Joined:
    Jan 30, 2007
    Posts:
    3,278
    Referrals:
    6
    Sythe Gold:
    0

    cp an cat
    Banned

    [JS] Virus Joke

    Oh yeah, your virus joke is so funny. Like we haven't seen those anywhere.
     
  5. Unread #3 - Dec 4, 2007 at 5:36 AM
  6. pur3min
    Joined:
    Oct 15, 2007
    Posts:
    189
    Referrals:
    0
    Sythe Gold:
    0

    pur3min Active Member

    [JS] Virus Joke

    Why don't you load the javascript function on bodyLoad?
     
  7. Unread #4 - Dec 4, 2007 at 6:14 PM
  8. cp
    Joined:
    Jan 30, 2007
    Posts:
    3,278
    Referrals:
    6
    Sythe Gold:
    0

    cp an cat
    Banned

    [JS] Virus Joke

    Because that guy does not really know more than basic javascript.
     
< Karel Program help | Email spoofer >

Users viewing this thread
1 guest


 
 
Adblock breaks this site