double dang
| If anything, it's damn insecure.
|
| --
| Murray
| --------------
| MVP FrontPage
|
|
| | > And, how is it "damn secure"? It isn't - you know that right??
| >
| >
| > | > | Youabsolutely can prevent anyone right clicking on any page in your
web.
| > |
| > | Add this script to the head before the body:
| > |
| > | <script language=JavaScript>
| > | <!--
| > |
| > | //Disable right click script III- By Renigade (
[email protected])
| > | //For full source code, visit
http://www.dynamicdrive.com
| > |
| > | 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 is damn secure
| > |
| > |
| > | "Gpr0496" wrote:
| > |
| > | > I found a website that doesn't allow you to right click on the page
at
| > all...
| > | >
www.allsoccertraining.com
| > | > How is this done? And does it keep anyone from copying the content?
| > I
| > am
| > | > designing a website and was wondering if I could apply this idea to
| > mine.
| > | > Thank you for your help....
| >
| >
|
|