Finally One more Trick s Ready for you, Today here you will Learn How to prevent bad people from stealing your blog content.

disable right click on blogger

Actually now a day lot of person are taking interest to create a blog and run fast . but according to me and as I saw mostly newbie always do focus on Increase No. of Posts in blog , No matter these are unique or Self writer , etc. so in this fast race they are copying or Stealing Content from other blogs .
By the Way you cannot Stop anyone from copying your content but you can do something by which you can make hard for them to copying Articles.

In this Post I am going to tell about Disable Right Click in 2 cases .
1-    When someone try to copy your article then that time Right click will not work.
2-    When someone try to drag and drop for your Images of article then it will also not work.
Hope you have seen some websites where you can’t us right click of mouse anywhere . they are using same trick on blog/website . Now you can also add “Disable right Click on Blogger” this is very simple trick but unique most of person don’t know about it so, by using it you can do enjoy with your friends. Never forgot your blog is great, and content of your blog is most important so use below steps to secure your content/article.

Disable Right on your whole Blog

1. First of all go to your Blogger dashboard —à Layout–àAdd a Gadget
2. Now here select “HTML/JAVASCRIPT” and paste the below code in <Body> box.

<script language=”JavaScript”>


//Disable right click script by

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.oncontextmenu=new Function(“return false”)

// –>


Disable Right click on all Images

1. Go to your Blogger Dashboard —à Template –à Edit
Here you will see a long html scripts of your template. So use “Find” by ‘CTRL+F’
2. Find </head> tag
Now following codes paste below </head> tag in your template and Save it .

<script type=”text/javascript”>


    function nocontext(e) {

        var clickedTag = (e==null) ? event.srcElement.tagName :;

        if (clickedTag == “IMG”) {


            return false;



    var alertMsg = “Image context menu is disabled”;

    document.oncontextmenu = nocontext;



So, This was my little Trick to Disable Right click in Blogger . hope this will work for you , please don’t forgot to give your Feedback in Comment J
1 comment
  1. Hi Sanu,

    This is fine for some Bloggers, they can edit their html files. But for other user like WordPress. This trick will not work. Although I am also using one my blog on Blogger. I will give this try on it.

    Thank for sharing

Comments are closed.

You May Also Like

GetResponse: Marketing Automation Simplified

In today’s competitive business world, email marketing plays a crucial role. Emails…

How to Select an Awesome Domain Name

Domain Name is a set of characters used to identify a Web…

How to Remove Blogger Navigation Bar

It seems that you are much worried about that navigation bar. Right?…

How to Find Widget ID in Blogger For Customization

Blogging is at its Peak Now and a lot of New Users…