Disable right click option using simple javascript code
index.html
<html>
<head>
<title>How to Disable to Right Click option</title>
<style>
body
{
background-color:#85B80E;
}
</style>
</head>
<body oncontextmenu="alert('You may not right click'); return false;">
<h1>DISABLE RIGHT CLICK OPTION : </h1>
<p> In this concept i am explaining about how to disable rightclick option using simple code , This is helps to protect your data form webpage.</p>
</body>
</html>
<head>
<title>How to Disable to Right Click option</title>
<style>
body
{
background-color:#85B80E;
}
</style>
</head>
<body oncontextmenu="alert('You may not right click'); return false;">
<h1>DISABLE RIGHT CLICK OPTION : </h1>
<p> In this concept i am explaining about how to disable rightclick option using simple code , This is helps to protect your data form webpage.</p>
</body>
</html>
1 Comments
This comment has been removed by the author.
ReplyDelete