Disable Select all Text For Sites
In my previous post i've posted how to disable right click on blogs to protect your content from thieves.This time i want my readers to know how to protect your hardwork put on creating a beautiful,eye catchy,and contentful blog post from content thieves.This post will teach you about how to disable copy and paste function on your blog or website.
Sometimes this trick may not be compatible with some old browsers.But,we will see how to make content more secure in my future posts.
Steps to Implement:
- Go to Dashboard-->Select the blog where you want to implement the code
- Go to Layout-->Add a Gadget-->Html/Java Script.
- Paste the Following code in the content box
<!-- START disable copy paste --><script src='demo-to-prevent-copy-paste-on-blogger_files/googleapis.js'></script><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 false"); } </script><!-- End disable copy paste -->
4.You are done........!!!!!
Enjoy pals............!!
Note :- The above code can also be placed between <head> and </head> tags to make it permanent.
Like Us.... Receive updates on your Facebook wall!!!! |
thanks you bro for good code
ReplyDeleteThank You So Much! I follow the tips that you gave me and now its working! Now i can protect my content from being copied.
ReplyDeleteThis is my blog after following your advice: http://infoaday.blogspot.com/
Thank you again!!