Jump to content

How To Block Right-click On My Site


Recommended Posts

  • 4 weeks later...
  • 2 weeks later...

disable right click on the web page using this script....

<script language="JavaScript1.1">

<!-- var debug = true; function

right(e) { if (navigator.appName == 'Netscape' && (e.which == 3 || e.which

== 2)) return false; else if (navigator.appName == 'Microsoft Internet Explorer'

&& (event.button == 2 || event.button == 3)) { alert('This Page is fully

protected!'); return false; } return true; } document.onmousedown=right; if (document.layers)

window.captureEvents(Event.MOUSEDOWN); window.onmousedown=right; //--></script>

Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...