How do I disable both right and left clicks in my forum?
This is a Hitskin.com skin preview
Install the skin • Return to the skin page
This is a Hitskin.com skin preview
Install the skin • Return to the skin page
<SCRIPT TYPE="text/javascript">
<!--
//Disable right click script
//visit http://www.rainbow.arch.scriptmania.com/scripts/
var message="Sorry, right-click has been disabled";
///////////////////////////////////
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>
<script language=Javascript1.2> function ejs_nodroit() { alert('RIGHT CLICK DISABLED FOR THIS SITE');
return(false); } document.oncontextmenu = ejs_nodroit; </script>
CatherinaAndrea wrote:But I wouldn't even suggest disabling the Right-Click ... (speaking from personal experience, had it on my own webby and it was annoying)
LGforum wrote:
Not to mention, both those codes are amazingly outdated, where the heck did you get those from?
LGforum wrote:It never stops people getting the images or scripts or anything... for a start... I can disable javascript in my browser in less than 2 clicks... and many other people can too.
What your adding to your forum is amazingly pointless and amazingly silly.
Not to mention, both those codes are amazingly outdated, where the heck did you get those from?
JazeonX wrote:Solved
Topic Solved & Locked |