Your Ad Here

How to restrict copying content from your Blog

Sunday, August 21, 2011


You can restrict your visitors to copy content from our blog just by adding a simple html codeto the header of your blog.
You must add this code just before the closing of header i.e. just before </head>. You can find this on your “Edit HTML” option of your blogger dashboard and in header.php file in “editor” option of WordPress.

<!–Code to disable copy paste on blog–>
<!– By www.firstonweb.in–!>
<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>
Share this article on :

0 comments:

Post a Comment

 
© Copyright 2010-2011 FirstOnWeb All Rights Reserved.
Template Design by Herdiansyah Hamzah | Published by Borneo Templates | Powered by Blogger.com.