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>