How to Disable Right Click View On Website

How to disable right click in blogger
How to disable right click in blogger template? The unique contents that posted on your blog are very important for you for blog search engine. Those articles are your achievement was written which had listed on a blog for your readers, better you should learn about how to disable select the content or disable CTRL+A which you can keep your contents safe. And another thing is most important as well; It is your blog source code. Everyone can use your blog source code from blog templates if it is able to make a right click to view your blog page source. So in this tutorial will share a tip to disable right click on your blog page.


These 5 Steps Are Effective Way To Disable Mouse Right Click On Your Website

Step 1: To start this task, first step you need to log in your blogger.
Step 2: Now click on Layout
Step 3: In this step you need to add another HTML/Javascript by click Gadget then find out the HTML/Javascript and click on [+].

Insert HTML Code in Text Area

Step 4: Now copy this below code and paste it on to the HTML/SavScript which you got from step #3.
<script language=JavaScript>
<!--
//edit by unwanted
var message="PUT YOUR MESSAGE HERE";
///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("alert(message);return false")
// -->
</script>
Step 5: Then just click on Save button to save and change your achievement  and enjoy it.

Note: You have to add your personal text "PUT YOUR MESSAGE HERE", this text will appear when someone make a right click on your blog.

Previous Post Next Post