hey there im trying to setup no right click on my script to prevent peoply coplying my images
I tried
but people could not get on with there mobile
then i tried
but found u can still right click in opera but it worked fine on mobile, I.E and firefox
can anyone help
I tried
Code:
<script language="Javascript1.2"> // © 2003 CodeLifter.com // Source: CodeLifter.com // Do not remove this header // Set the message for the alert box am = "**** Off Your Not Having My Images!"; // do not edit below this line // =========================== bV = parseInt(navigator.appVersion) bNS = navigator.appName=="Netscape" bIE = navigator.appName=="Microsoft Internet Explorer" function nrc(e) { if (bNS && e.which > 1){ alert(am) return false } else if (bIE && (event.button >1)) { alert(am) return false; } } document.onmousedown = nrc; if (document.layers) window.captureEvents(Event.MOUSEDOWN); if (bNS && bV<5) window.onmousedown = nrc; </script>
then i tried
Code:
<body oncontextmenu="return false">
can anyone help
Comment