Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

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.

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.

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

<script language=JavaScript>

//Disable right mouse click Script
//Code by

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:-


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.

This post first appeared on Lafandar's, please read the originial post: here

Share the post

How to Disable Right Click on Your Blog ?


Subscribe to Lafandar's

Get updates delivered right to your inbox!

Thank you for your subscription