Code to Prevent Copying and Limiting Content in Blogger 2022

Code to Prevent Copying and Limiting Content in Blogger 2022

Go to download


Code to Prevent Copying and Limiting Content in Blogger 2022

Have you noticed lately that some sites do not allow visitors to their sites to use the right click when clicking anywhere in the blog? This option is useful for website and blogger owners, who want to reduce the possibility of copying content without selecting the topic or copying and pasting it.

Many blog owners create their own topics, and do not want to steal topics and transfer them to other blogs. If you want to disable the right click work on your blog, this code will give you some characteristics for this process, and when the visitor clicks on the right click, the click list does not appear for him. The code also disables all the functions of the right click inside the blog, and one of the features of the code is to disable the display of checking the element to not transfer your topics to other blogs and steal them.

And in this lesson, there is no JavaScript code, while the CSS code is added from editing the template, it does not need experience to add it to the template, and if you have any problem or question, put your comment in the comment box below.

How to add the code

Go to Template > Edit HTML

Put the following code above  ]]></b:skin>  or above  <Style/>

body{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.separator a,.post-body img{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}pre,kbd,blockquote,table{-webkit-user-select:text;-khtml-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}

  • The first code : prevents any text from being specified in the blog.
  •  The second code : prevent the theft of pictures of topics.
  •  The third code : Allows selection from the code box, small codes, quotes and tables.

image quote pre code