how to disable right click on blogger

How To Disable Right Click button on Blogger?

If you want to disable Right click button on your blogger blog or website so this article for you. some publisher is not allowed to copying their content so they block Right-Click option on their blog or website. it means when we click right from our computer mouse or pointer there is nothing happen.

Why we disable right click?

 

If you want to disallow copy your content or article from your website or blog so we disable Right-click on our website.

In this tutorial, we know about how to block right click on blogger. so let’s begin

How to disable right click on blogger?

follow these steps to do this –

STEP 1 –  Open your blogger dashboard and click on Layout Option.

disable right click blogger

STEP 2 –   Click on “Add a Gadget” Option in Sidebar menu of Layout.

disable right click blogger

STEP 3 –   Click On ” Html/javascript” and Paste the given HTML code.

hindglobal

 <script language=javascript>
<!–
//Disable right click script –
//
var message=”Function Disabled”;
////////////////
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>

STEP 4 – After paste this code just click on save option.

disable right click blogger

Now Right click is disabled on your blog website.

massage customization – now when anybody right clicks on your website they show “Function Disabled” message if you want to add a massage according to your choice so just replace the “Function Disabled” text from your chosen text in HTML code.

also read – free premium blogger theme

we hope now you able to disable the right-click option on any blogger website. but if your problem was not solved by the above method so here is another method for it.

Second Method

 

step 1 –  Go to the dashboard and click on the “theme tab“.

step 2 – now click on “Customize” then click on “advance“.

step 3 – then click to ” Add CSS” and Add custom CSS field.

step 4 –  paste below the given CSS code.

<style type=’text/css’>

.post-body

{ -webkit-user-select: none; /* Chrome all / Safari all */ -moz-user-select: none; /* Firefox all */ -ms-user-select: none; /* IE 10+ */ -o-user-select: none; user-select: none; }

</style>

step 5 – now click to apply. done

note –  if you not able to find css option in your blog to just go theme and click to edit HTML. now just press ctrl+F and search for <b:skin> now paste CSS option in it. now click to save.

we hope that after read this tutorial you can able to disable right click on your blogger. if you have any types of query about this article so comment us our team try to solve your query soon as soon.

One thought on “How To Disable Right Click button on Blogger?

Leave a Reply

Your email address will not be published. Required fields are marked *