How to Disable right click on Blog
How to Disable right click on Blog |
How to Disable right click on Blog?
Now just follow given steps below in order to disable right click on your blog:
- Go to Blogger Dashboard
- Layout >> Add a Gadget >> And add an HTML/JavaScript Gadget
- Copy below code and paste it inside HTML/JavaScript gadget
<script language=javascript>
<!-- http://www.bestbloggercafe.com -->
var message = "function disabled";
function rtclickcheck(keyp){ if (navigator.appName == "Netscape" && keyp.which == 3){ alert(message); return false; }
if (navigator.appVersion.indexOf("MSIE") != -1 && event.button == 2) { alert(message); return false; } }
document.onmousedown = rtclickcheck;
</script>
Save the gadget and you're done, now view your blog and right click any part of your blog, it will show a pop up box saying; right click is disable.
- Go to Blogger Dashboard
- Layout >> Add a Gadget >> And add an HTML/JavaScript Gadget
- Copy below code and paste it inside HTML/JavaScript gadget
<script language=javascript>
<!-- http://www.bestbloggercafe.com -->
var message = "function disabled";
function rtclickcheck(keyp){ if (navigator.appName == "Netscape" && keyp.which == 3){ alert(message); return false; }
if (navigator.appVersion.indexOf("MSIE") != -1 && event.button == 2) { alert(message); return false; } }
document.onmousedown = rtclickcheck;
</script>
Save the gadget and you're done, now view your blog and right click any part of your blog, it will show a pop up box saying; right click is disable.
Post a Comment
Thank for feedback u