Thursday, July 4, 2013

How to Disable Copying Text From Your Blog?

,
Exclusive content is usually under the eyes of thieves, who steal these posts and articles without permission or even the source said, so I've written this post to stop this process.

1. Go to Blogger Dashboard > Template
2. Download a copy of your template
3. Now click on Edit HTML
4. Use Ctrl + F to find <head> and paste the following code after it.
<!--- www.bbloggertutorials.Blogspot.com Disable Copy and Paste-->
<script language='JavaScript1.2'>
function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function (&quot;return false&quot;)
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>
5. Save template.
That is it!!

15 comments:

  1. OMG! Thank you a lot! I've tried codes provided in other sites and I only damaged the layout :S but yours did not :D thanks for posting

    ReplyDelete
  2. Thank you very much for this great tutorial ♥ It's so easy, just paste it in the template and it works perfectly fine!

    ReplyDelete
  3. it doesn´t disable ctrl-a or right click-select all :-(

    ReplyDelete
  4. Thank you so much! I am glad I came across this :)

    ReplyDelete
  5. <a href="www.sadektelecom.blogspot.com/>:)</a> Thanks For Share

    ReplyDelete
  6. dude, thanks a lot for sharing!
    man, i have read and watched a lot about this stuff, and boy! only yours worked for me. thanks a lot man!

    ReplyDelete

 

Disclaimer | Terms and Conditions | Privacy Policy | Copyright © 2012 | Template design by bbloggertutorials