How to disable text selection,copy and paste of blog content while opening blog using mobile device?


How to Disable Copy and Paste in Blogger

The process of preventing copy and paste on Blogger involves adding a small snippet of code. Here are the steps:

1. Access your Blogger Template Code

  • Go to your Blogger dashboard and open the template you want to edit.
  • Click on the “Theme” tab.
  • Select “Edit HTML” to access the code.

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

Comments

Popular posts from this blog

ANU SCRIPT MANAGER 7.0 (With Installation Guide & Using)

How to Play flipkart Snakes & Ladders Game?

అంబులెన్స్‌ను ఢీకొన్న ప్రైవేట్ ట్రావెల్ బస్సు : ఇద్దరి దుర్మరణం