How To Disable Right Click+Hightlight Copy Paste

Results 1 to 5 of 5
  1. #1
    SnapsterzMU Founders GoldbertGTR is offline
    MemberRank
    Mar 2009 Join Date
    Kuala Lumpur, MLocation
    417Posts

    How To Disable Right Click+Hightlight Copy Paste

    Hello RaGEZONE!
    This code can save your website from theft or copy and paste you just need to copy all the code below and paste after </ head> in index.php
    Thank you

    PHP Code:
    <SCRIPT LANGUAGE="JavaScript" type="text/javascript" >
    <!-- 
    document.oncontextmenu = function() {return false}
    if (
    document.layers) {
      
    window.captureEvents(Event.MOUSEDOWN);
      
    window.onmousedown = function(e) {
        if (
    e.target==document) return false;
      }
    }
    else {
      
    document.onmousedown = function() {return false}
    }
    //-->
    </SCRIPT> 


  2. #2
    Fusionā„¢ |ARIES| is offline
    MemberRank
    Feb 2008 Join Date
    ARGENTINALocation
    410Posts

    Re: How To Disable Right Click+Hightlight Copy Paste

    Usefull! thanks!

  3. #3
    Valued Member Grams is offline
    MemberRank
    Mar 2011 Join Date
    143Posts

    Re: How To Disable Right Click+Hightlight Copy Paste

    wat about ctrl+u? and the options?

  4. #4
    NN - Nord & Noob mauka is online now
    MemberRank
    Jul 2004 Join Date
    1,735Posts

    Re: How To Disable Right Click+Hightlight Copy Paste

    Clouns, whats the point of this crap i can do ctr+v/c and finnaly views source!
    useless and waste of time

  5. #5
    Proficient Member x00000 is offline
    MemberRank
    Jun 2012 Join Date
    MoldovaLocation
    160Posts

    Re: How To Disable Right Click+Hightlight Copy Paste

    simply
    PHP Code:
    <body oncopy="return false" onselectstart="return false"  oncontextmenu="return false" ondragstart="return false"



Advertisement