-->

Disable Copy and Past including Right Click

People should respect copyright materials. It has no doubt that there is no 100% fool proof way to disable copy and paste function. There are several way to copy anyone's contents.  But by this small script you can make some difficulty to direct copy the content. Follow some Simple steps to add this script on your blog to disable copy and paste function along with disable right clicking. 

1. Log in Blogger.com (Blogger Dashboard)
2. Enter in Design.
3 Hit "Add a Gadget"
4. Hit "HTML/Java Script"


5. Paste the Code given below in Html/Java Script's content area. Leave Title section empty.

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

I hope that this tutorial will help you to disable copy and paste function along with disable right clicking too. If You liked it, Please share it!

Baca juga

Post a Comment