How To Disable Right Click On Blogger Blog

Have you noticed that some web sites do not allow their visitors to use the right mouse click when pointer to the blog area. This option is useful for site and blog owners, who want to reduce their chances of copying content to other posts.

If you write unique articles in your website and want to protect those articles so that no other person can copy and use them. So today I will teach you in this article. How you can disable right click in your blog so that any user who is coming to your website or blog.  That user will not be able to copy by right clicking on your articles.

How To Disable Right Click On Blogger Blog

Step 1: Login into your Blogger Account.

Step 2: Now Go to Theme >> click on Edit HTML.

Step 3: Find the </body>

Step 4: Just before the </body> tag paste the following code:
<script type='text/javascript'>
//<![CDATA[
var message="NoRightClicking"; function defeatIE() {if (document.all) {(message);return false;}} function defeatNS(e) {if (document.layers||(document.getElementById&&!document.all)) { if (e.which==2||e.which==3) {(message);return false;}}} if (document.layers) {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=defeatNS;} else{document.onmouseup=defeatNS;document.oncontextmenu=defeatIE;} document.oncontextmenu=new Function("return false")
//]]></script>
Step 5: Save the theme.

Post a Comment

Please Don't Share Any URL. If You Share URL, Your Comment Will Not Be Approved.

Previous Post Next Post