March 31, 2009

Disable Right Click on Blogger Blogspot

Right click on any internet browser is very important element. And we must use it when it comes to copy or editing texts and etc..
And it’s very important when it comes to webmasters too.

But some people may use it in a bad way, and you may want to make click right disabled on your blog.
To protect your text, images links and etc….

So all what you have to do is only simple steps.
You’ll need to add new Html/Javascript element to your layout.
Now go to your blogger account.
Navigate to Layout >> Add a GadGet >> and select html/javascript

Then copy the next code and past in in html/javascript text box area

<script language="JavaScript">
//Disable right mouse click Script
//By Maximus ( w/ mods by DynamicDrive
//For full source code, visit
var message="Function Disabled!";
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")
// -->

Then save the html/javascript. and view you blog.

When you try to do right click a message will tell you that “Function disabled”

And if you want to change this words” Function Disabled” find the next line in the code.

var message="Function Disabled!";

And change Function Disabled! to what ever you want.

I hope it helps.

Do you Like this Story..?

Get Free Email Updates Daily!

Follow us!

Do you Like This Story Widget For Blogger by Beautiful Blogger Widgets



Blogging Now And Then © 2009 Med ELJAMALI