How to Disable Right Click on Your Blog ?

Have you visited sites where the right click was disabled, Do you tried to find out the answer why if not today in this post I am going to tell to you why more popular sites disable this function?When It comes to editing documents right click is the button you press for copying, pasting and editing.

But why popular websites disable this function answer is they want to protect their article from being copied and published on other sites.
Disable Right Click on Your Blog

Implementing the same on Blogger/Wordpress  Blog is quite an easy task just follow the steps below:-

Step1. Go to Dashboard > Layout > Add Gadget > HTML / JavaScript.

Disable Right Click on Your Blog

Step2. Copy the following code and paste in HTML/Java Script Box.

<script language=JavaScript>

//Disable right mouse click Script
//Code by www.lafandar.org

var message="Function Disabled for protecting our data";

function clickIE4(){
if (event.button==2){
return false;

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
return false;

if (document.layers){
else if (document.all&&!document.getElementById){

document.oncontextmenu=new Function("alert(message);return false")

// -->

Step3. Click on Save and then Save Arrangement.

Step4. You can change the message which is displayed red in above script.

Result will be like this:-

Disable Right Click on Your Blog


Blogger Should implement this script on their blog to protect their data from being copied to another website.Some bloggers use Copyscape badge to protect the data but this is not enough. Just implement this easy script on your blog saves you from plagiarism.

How to Disable Right Click on Your Blog ? How to Disable Right Click on Your Blog ? Reviewed by Ankita Deshmukh on 1:53 PM Rating: 5
Related Posts Plugin for WordPress, Blogger...