Last Updated on March 15, 2021 by Justin Su

Are you hard working bogger and want to save your content from getting copying? Then you should know how to disable copy paste in blogger.

Most people want to not allow others to copy their content and use it on other websites.

There is the basic method of disabling content from copy and paste.

Benefits Of Disable Copy & Paste

The basic benefit of disabling copy and paste is that your contents are safe and unique but do you know even after blocking users from right-click there are people who still copy content from your site.

Like, Chrome allows you to check code (page source) click CTRL+U and you can check all codes from a specific page. And if you don’t know how to use this method then you don’t need to understand, write your own content.

Also Read: How TO Change Theme in Blogger

Also Read: How To Remove Powered By Bloggers

How To Disable Copy Paste In Blogger

Want to disable right-click in Blogger then follow the below steps.

  • Log in to Blogger
  • Go to the Layout tab
  • Click on an Add a Gadget, you can add anywhere
  • Now choose HTML/JAVASCRIPT option
  • The new blank page will be open
  • Paste the below code and click on SAVE

Code to Copy and Paste:

<!- 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 –></!->


Copy and paste the below code to disable right-click option on Blogger Above code disables copying and paste.

<script language=javascript>

//edit by dev

var message=”Right Click Has Been Disabled”;

function clickIE4(){
if (event.button==2){
return false;

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
return false;

if (document.layers){
else if (document.all&&!document.getElementById){

document.oncontextmenu=new Function(“alert(message);return false”)

// –>

How To Enable It

You can remove the code and everything is fine. And nothing else you have to do. Just visit the layout section and click on the widget where you added that code and now delete that widget or code.