Disable Right Mouse Click Web Dev Help Code Tut

Go down

Disable Right Mouse Click Web Dev Help Code Tut Empty Disable Right Mouse Click Web Dev Help Code Tut

Post by jamied_uk on 19th May 2016, 21:51

Code:


<script language="javascript">
document.onmousedown=disableclick;
status="Right Click Disabled";
function disableclick(event) {
  if(event.button==2) {
 alert(status);
 return false;
   }
}
</script>

<body oncontextmenu="return false">

</body>


Code Download
https://app.box.com/s/rbtiz5irto9ocdphorvsaz0a811bt1iv


(may not work guaranteed try also using a background and protect the image) see below!

https://jnet.forumotion.com/t1211-protect-images-from-theft-attempts#1631
jamied_uk
jamied_uk
Admin

Posts : 2471
Join date : 2010-05-09
Age : 36
Location : UK

http://address-shortner.co.uk

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum