Druide Posted March 25, 2003 Share Posted March 25, 2003 add to the file(s) just before </head> <script language="JavaScript" src="includes/norightclick.js"></script> make a new file in catalog/includes/norightclick.js and put this inthere if (window.Event) document.captureEvents(Event.MOUSEUP); function nocontextmenu() { event.cancelBubble = true event.returnValue = false; return false; } function norightclick(e) { if (window.Event) { if (e.which !=1) return false; } else if (event.button !=1) { event.cancelBubble = true event.returnValue = false; return false; } } document.oncontextmenu = nocontextmenu; document.onmousedown = norightclick; save as catalog/includes/norightclick.js But ofcourse for the more advanced people this is not fool proof...lol Too many ways to copy content from websites, protected or not. just too easy or not :twisted: Quote Robert We all need to learn it once, how hard it may seem when you look at it, also you will master it someday ;) Link to comment Share on other sites More sharing options...
Druide Posted March 25, 2003 Author Share Posted March 25, 2003 :stupid: this was meant for the TIPS & TRICKS section please move it sorry Quote Robert We all need to learn it once, how hard it may seem when you look at it, also you will master it someday ;) Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.