How to disable right click on blogger

How to disable right click on blogger To prevent copies of your articles and prodect your text, images links and etc…

 Learn a new trick blogger ban
On the pages of your blog right-click.
Blogger hacks and tricks
blogger, Tutorials, Tricks, blog, blogspot
On any browser right-click, very important.
I have used in terms of copying or editing of texts and other ..
It is very important when it comes to webmasters too.

But some people may use in error, you may want to disable right-click on blog.

1. Go to ''Main Control Panel'' >> ''Design'' >> ''Page Elements''


2. Click ''Add a Gadgget''



3. Chose ''HTML/JavaScript''



4. Copy this code


<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="Function Disabled!";

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

5. Past Code
with out title
when you click right click a message will tell you that “Function disabled”
if you want to change this words” Function Disabled”
find the next line in the code
Tutorials, Tricks

var message="Function Disabled!";

 5. Click ''Save''
, blog, blogspot

Ended

3 Comments:

syasha follow tutorial nie..tme kasih ^_^

thnx Piyush for your comment :)

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More