Now the major trick you can use to protect your content from copy and paste bloggers is to disable highlight function. I also shared a tutorial on how to disable right click context menu on images, which you can also use it to protect your blog images.
Ø Go to your dashboard
Ø Click Template > Edit HTML > Proceed
Ø Use ctrl F to find </head> and paste the following code above </head>
<script type='text/javascript'>
if (typeof document.onselectstart!="undefined") {
document.onselectstart=new Function ("return false");
}
else{
document.onmousedown=new Function ("return false");
document.onmouseup=new Function ("return true");
}
</script>
|
Ø Now save your template.
Ø You can also add it, using this second option.
Ø Go to Layout > Add a Gadget > HTML/JavaScript
Ø Paste the following code in the content box leaving the title box empty.
<script language='JavaScript1.2'>
function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>
|
Post a Comment