Closed Thread
Results 1 to 2 of 2

Thread: copy protector with popup

  1. #1
    Junior Member mxbiz is an unknown quantity at this point
    Join Date
    Jul 2004
    Posts
    2

    Laughing copy protector with popup

    Hi this is a schript to protect from copy from your site, once press the right mousbutton a popup will apear!
    You can make the poppup in the way you like it.


    <script language="JavaScript">

    // Script Source: CodeLifter.com
    // Copyright 2003
    // Do not remove this header.

    // ----------- Setups ------------------
    // Set the address, width, height, top
    // and left dimensions for the popup
    // window below.
    // -------------------------------------

    PopUpURL = "http://www.mxbiz.com";
    PopUpLeft = 100;
    PopUpTop = 100;
    PopUpWidth = 800;
    PopUpHeight = 800;

    // -------------------------------------
    // Do not edit anything below this line.
    // -------------------------------------

    isIE=document.all;
    isNN=!document.all&&document.getElementById;
    isN4=document.layers;
    popO='left='+PopUpLeft+',top='+PopUpTop+',width='+PopUpWidth +',height='+PopUpHeight

    if (isIE||isNN){
    document.oncontextmenu=checkV;
    }else{
    document.captureEvents(Event.MOUSEDOWN || Event.MOUSEUP);
    document.onmousedown=checkV;}

    function checkV(e){
    if (isN4){
    if (e.which==2||e.which==3){
    dPUW=window.open(PopUpURL,'nrc',popO);
    return false;
    }}else{
    dPUW=window.open(PopUpURL,'nrc',popO);
    return false;}}

    </script>





    <title>mxbiz!</title><body onload='self.focus()'>





    <body>

    </body>
    </html>

  2. #2
    Junior Member No Limit is an unknown quantity at this point
    Join Date
    Sep 2001
    Posts
    23
    That doesn't stop someone from just viewing the source from the "view" menu on either IE or Mozilla.

Closed Thread

Bookmarks

Posting Permissions

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