Blogging Tricks & Tips Tutorials

How to Disable Right Click in Blogger Blogs

disable right click on blogger

You might Have noticed that many popular site have disable right clicks as a concern of copyrights. So in this article I will be sharing how to disable right click in blogger through gadgets in layout section. This will help you in protecting your contents, before content stealers hack it through Blackhat SEO so make use of this tutorial & safeguard your content.

STEP 1: Goto Blogger Dashboard -> Layout -> Add Gadget -> HTML/Javascript.

STEP 2: Copy the below code and paste it & save it!

That’s it! 😉 It’s done. Check your blog, you can’t Right click.

<script language=”JavaScript”>
<!–

//<span id=”IL_AD6″ class=”IL_AD”>Disable</span> right click script III- By Techspotz (mmsasidharan@gmail.com)
//For full <span id=”IL_AD3″ class=”IL_AD”>source code</span>, visit https://www.techspotz.com

var message=””;
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(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=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function(“return false”)
// –>
</script>

Thank you for Reading!

 

About the author

Sasidharan

Sasidharan is the owner of Techspotz and writes on various topics like How-to tutorials, SEO, Blogging etc. Loves tech in any form, quite optimistic about AI, Blockchain and IoT.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.