Disable Right Click of Mouse on Your web Page Using Java Script







<html>
<head>
<script language="JavaScript">
function disable()
{
if (event.button == 2)
{
alert("Sorry no rightclick on this page.\nNow you can not view my source\nand you can not steal my images")
}
}
</script>
</head>
<body onmousedown="disable()">
<p>Right-click on this page to trigger the event.</p>
<p>The event property is not recognized in Netscape.</p>
<p>Note that this is no guarantee that nobody can view the page source, or steal the images.</p>
</body>
</html>

Share:

1 comment:

Popular Posts

Featured Posts

Featured Posts

Featured Posts

Total Pageviews

Top Stories

Stay Connected

Instagram

Contact Form

Name

Email *

Message *

Travel

Amazing Gift for you

Viral

Beauty

Popular Posts

Unordered List

  • Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
  • Aliquam tincidunt mauris eu risus.
  • Vestibulum auctor dapibus neque.

Pages

Theme Support

Need our help to upload or customize this blogger template? Contact me with details about the theme customization you need.