Today, I would like my visitors to learn how to protect (Disable Copying Text) your hard work spend in creating and writing fresh articles on your website or blog by being stolen by some others.
Copying the writing from your website and placing it elsewhere is common on the net. There are sites which often doesn’t make it possible for us to copy the content on the web pages. The content function is disabled from the site through the site admin so that you can protect the website. We might find how to implement the identical methodology pertaining to Blogger. This key is valid for almost any sites. This trick will probably disable (Ctrl+A) function to your site.
Sometimes the trick may not be compatible with some old browsers. But, we will see how to make things more secure in my future posts.
Steps to implement to Blogger (Disable Copying Text):
1. Go to Dashboard > Select the blog where you would like to implement the code
2. Go to Layout > Add a Gadget > Select “HTML/JavaScript gadget”
3. Paste the following code in the box:
<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 true" ); } </script>
4. You are done!!! Check out how it works.
Note: The above code can also be placed between <head> & </head>