April 26, 2018

How to disable copy/paste in blogger? - Disable Text Selection.

To prevent them all you have to do is apply the HTML/Javascript of disabling text selection in your blog. I know you are not an expert like me. But i have found this script which will disable copy option on your blog. Remember this it will not disable right click.

Here are the steps to remove copy paste option on your website:

Step 1: Go Layout Tab in Left side of blogger menu.

Step 2: Click on Add a Gadget. (You can choose anywhere on sidebar or lowerbar or footer as this won't appear.)

Step 3: Now choose widget name HTML/Javascript.

The blank space for entering script will show in window. Paste the below mentioned script.

<!- 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 --></!->
Link to copy this script: Click Here
and click on save.

TIP: I have also applied this script and currently it is ON. so you cant copy this script from here. so i have provided link from where you can copy this script. There is not any side effects [Your blogs SEO will not be affected].