How To Disable Right Click on Blogger Blog to stop Copy of Content?

Do you faced the problem that some body is copying your content and want to stop some body. Then we have a blogger hack with this with this trick we can disable the right clicking on our blog. And if Right click is disabled then no body can Copy our Content. Source

Please Follow the Setps to install this Trick on your Blog

Step 1 > Go to Template -> Page Elements.
Step 2 > Add a Page Element -> then Add a HTML
Step 3 > Now just copy and save the following code into Html and you are done !

<script language='JavaScript'>
<!--

//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com

var message="No Right-Click!";

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



If Your Enjoyed this Article Then you May Also Interested In Recieving Updated By Mail:

Enter your email address:-

7 Responses to "How To Disable Right Click on Blogger Blog to stop Copy of Content?"

Anish Mathai Mathew PMP|MBA Says :
April 18, 2009 12:20 AM

THANKS DUDE... ITS WORKED FOR ME... PEOPLE LIKE YOU MAKE THE INTERNET A HAPPY PLACE TO BE IN :)

ALSO VISIT ME ON http://anishmathaimathew.blogspot.com

Anish Mathai Mathew PMP|MBA Says :
April 18, 2009 12:54 AM

Sorry Dude, but I found out that even though the RIGHT-CLICK option is disabled, however, COPY 'C' & COPY 'V' still works. Is there a way that can be disabled also????
Thanks in advance.

Odzyskiwanie Danych Says :
April 24, 2009 3:13 AM

Ok, great but just a little computer skills is enough to copy the text. You can view the source of your website and copy it freely.

Wisp Says :
April 26, 2009 2:10 AM

This trick is very easy to get round.
As was sayed, you can copy text from source code, and by clicking ctrl+C.

But to copy image in such way is much more complicated. So use this trick to save your images ;)

imani mohd hatta Says :
May 6, 2009 9:32 PM

dude..
thnk u very much..
it work in my blog...

Thom Blake Says :
May 12, 2009 9:27 AM

This is abhorrent in terms of accessibility - the context menu is vitally important for some people browsing the web.

One easy way to disable the above trick on current browsers is to open up a javascript console and type:

document.oncontextmenu="";

This will let the oncontextmenu event bubble up normally, restoring proper functionality to the page.

Anonymous Says :
November 2, 2009 7:27 AM

Thank you! This is the first code that I found worked on my site! Blessings!

Post a Comment

Followers