Most Trending

Disabled a Selection of text/content On blog Or on Website



Hi your content is copied by someone and paste on his/her website !

 Here is a Script that disabled selection of text.  

1.     1.Sign into your blogger account and go to the Blogger “Dashboard”.

2.    2.  From the left side click on the “Template” section and then click on “Edit HTML”.

3.     3.In the HTML editor window, Find the line “<head>.”

4.    4. Now paste the following code right below the line.

 

<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>

 

NOTE: This script will prevent just text selection on blog. To completely remove copy paste option you will have to disable right click also

 

No comments