Jump to content
  • Welcome To Mopar1973Man.Com LLC

    We are a privately owned support forum for the Dodge Ram Cummins Diesels. All information is free to read for everyone. To interact or ask questions you must have a subscription plan to enable all other features beyond reading. Please go over to the Subscription Page and pick out a plan that fits you best. At any time you wish to cancel the subscription please go back over to the Subscription Page and hit the Cancel button and your subscription will be stopped. All subscriptions are auto-renewing. 

Stopping right clicking...


Recommended Posts

  • Owner

Here you go if you guys are looking for a way to stop people from right clicking on your web pages and taking your information here is a way to stop it...

<script language=JavaScript><!--//Disable right click script III- By Renigade ([EMAIL="renigade@mediaone.net"]renigade@mediaone.net[/EMAIL])//For full source code, visit [URL]http://www.dynamicdrive.com[/URL]var message="";///////////////////////////////////function clickIE() {if (document.all) {(message);return false;}}function clickNS(e) {if (document.layers||(document.getElementById&&!document.all)) {if (e.which==2||e.which==3) {(message);return false;}}}if (document.layers) {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}document.oncontextmenu=new Function("return false")// --> </script>
It work great there is no warning message or nothing... :cool:
Link to comment
Share on other sites

  • Create New...