Saturday, October 21, 2017

How can I prevent users from Copy & Paste?

1. Log in to Blogger.com
2. Select your blog then click at Theme
3. Click Edit HTML
4. Look for <head> (around line#4)
5. Insert the following code below <head>
<script src='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>
6. Click Save theme