Jump to content
xisto Community

pixelstat

Members
  • Content Count

    1
  • Joined

  • Last visited

  1. This script will help you to protect your source code Add this to <BODY> Section of your site ! <script language=JavaScript> var message="Function Disabled!"; /////////////////////////////////// function clickIE4(){ if (event.button==2){ alert(message); return false; } } function clickNS4(e){ if (document.layers||document.getElementById&&!document.all){ if (e.which==2||e.which==3){ alert(message); return false; } } } if (document.layers){ document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS4; } else if (document.all&&!document.getElementById){ document.onmousedown=clickIE4; } document.oncontextmenu=new Function("alert(message);return false") </script> Thank You ! Notice from BuffaloHELP: Use proper bbcode tags when posting codes. We have Programming > Javascript dedicated section. Moving.
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.