Is there a script ?
Results 1 to 6 of 6

Thread: Is there a script ?

  1. #1
    Junior Member
    Join Date
    Mar 2002
    Posts
    10

    Is there a script ?

    Would anyone perhaps have a html or java code around somewhere that when a web user right clicks on a web page a message of your choice is shown and then if the user right clicks again then the browser is automatically closed.

    If anyone has a code like this or similar to this, please let help me know.

    Thank You
    Dollazo

  2. #2
    Junior Member
    Join Date
    Mar 2002
    Posts
    3
    what you want is a "javascript" script. go to a javascript site (eg www.a1javascripts.com) and theres listings of all kinds of scripts.

  3. #3
    Flash M0nkey
    Join Date
    Sep 2001
    Posts
    3,447
    here is the code to display a msg when someone right clicks on a web-page


    <script language=JavaScript>
    <!--

    /*
    Disable right mouse click Script
    For full source code to this script and 100's more, visit
    http://www.dynamicdrive.com
    */

    var message="Function Disabled";
    function click(e) {
    if (document.all) {
    if (event.button==2||event.button==3) {
    alert(message);
    return false;
    }
    }
    else if (document.layers||document.getElementById) {
    if (e.which == 3) {
    alert(message);
    return false;
    }
    }
    }
    if (document.layers) {
    document.captureEvents(Event.MOUSEDOWN);
    }
    document.onmousedown=click;
    // -->
    </script>
    as for shutting down the browser on the second click - soz dunno

    v_Ln

  4. #4
    Senior Member
    Join Date
    Mar 2002
    Posts
    238
    Hey I have a question as well, I dont know if anyone can answer or not, but for all you advance coders out there...

    I only know HTML and haven't researched this too much yet. But, does anyone know a script to kill banner ads on a page?
    -{[ Joe ]}- (Joe@nitesecurity.com)
    http://www.nitesecurity.com

    [shadow]I\'m Just A Soldier In This War Against Ignorance.[/shadow]

  5. #5
    Junior Member
    Join Date
    Mar 2002
    Posts
    10
    Thank You for all your help

  6. #6
    Banned
    Join Date
    Dec 2001
    Posts
    159
    But, does anyone know a script to kill banner ads on a page?
    http://hackingtruths.box.sk/banns.htm

    has banner blocking tricks for tripod, freeservers, geocities, angelfire, namezero and some more. dont know if they still work or not.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •