How to Disable Right Click Copy Paste Function in Blogger [Text Selection]

How to Disable Right Click Copy Paste Function in Blogger [Text Selection]? – Are you wondering how to disable copy function on your Blogger blogger? If you’re interested in disabling copy features from your blog, then you’re at the right corner.

Many bloggers disable copy function on their blog because most of the bloggers who do backbreaking work and write genuine and fresh content for their blog always face the problem from the newbies. Most of the new bloggers, without making efforts, want to make money online as quickly as it is possible. They do copy (I also did.) content from other’s blogs without understanding the fact that what is the real value of content that readers like.

Disable Copy Function in Blogger

Sometimes, in rare cases, The copied content gets a higher ranking by the search engines than the original content. So, do not waste your hard work and time. It is the right time to protect your content from being copied. You only need to follow the instructions below to implement this technique of disabling the right-clicking on your blogger blog.

The main motive of this post is How To Protect Blog Content from Being Copied? Actually, We make it possible by disable the right click of the mouse on our blog page and also turn off the CTRL+A.

We have found two ways to make it possible. The First one is by using the JavaScript code (If you want to Disable Text Selection.) and the second one is by using the CSS Coding (If you’re going to share some Codes/Text of your page for allowing your readers to copy them). Now, It depends on you whether you want to do it via JavaScript or Via CSS.

Follow below instruction and follow that option which you want to use on your blog.

How To Disable Right Click Copy Function Via JavaScript?

  • Go To Blogger >> Template >> Edit HTML.
  • Now search for <head> tag and paste below JavaScript code just after of <head> tag. You can search by pressing CTRL+F or CMD+F.

<!–Disabe Copy Paste by MBG–>
<script language=’JavaScript1.2′>
function disableselect(e){
return false
function reEnable(){
return true
document.onselectstart=new Function (&quot;return false&quot;)
if (window.sidebar){

  • Now, Save your Template.
  • Open your blog and check the result.

Disable Right Click Copy Function Except for Specific Codes/Text with CSS.

This is the beautiful code about which I was talking above. You can use it if you are a developer and sharing codes with your readers. And, at the same time, you want to protect your content from being copied by allowing users to copy a particular place of your blog. Yes, this is possible with a small piece of CSS coding.

Also Read –
Add a Stylish Contact form to Static Page in Blogger.
4 Best Below Post Subscribe Box Widget for Blogger.

Now, If you want to use this CSS code on your blog, then read below instructions and follow all steps carefully.

  • Go to Blogger >> Template >> Edit HTML.
  • Now, Copy and paste below code just above of ]]></b:skin> tag inside your Template Code.

/*—– Disable Text Selection with CSS Code by TB—-*/
.post blockquote {
-webkit-user-select: text !important;
-moz-user-select: text !important;
-ms-user-select: text !important;
user-select: text !important;
body {
-webkit-user-select: none !important;
-moz-user-select: -moz-none !important;
-ms-user-select: none !important;
user-select: none !important;

Note: In this above code, we have allowed users to select and copy codes we share using .post blockquote class. If in any case, It is not working for you, it is possible because your template is using a different CSS class for Blockquotes. You need to check it yourself. If your template is using .post-body blockquote, then make changes in above CSS code by replacing .post blockquote to .post-body blockquote. If you’re not a developer and want to stop readers from copying your blog content, then just copy-paste this following code to your Blogger template by following the above same steps.

/*—– Disable Text Selection with CSS Code by TB—-*/
body {
-webkit-user-select: none !important;
-moz-user-select: -moz-none !important;
-ms-user-select: none !important;
user-select: none !important;

Recommended – 11 Best SEO Optimized & AdSense Friendly Blogger Templates.

Final Words!

So the above guide is about How to Disable Right Click Copy Paste Function in Blogger [Text Selection]? We hope by this tutorial you can do it quickly. If anyhow problem persists after following all the above steps then drop a comment below. I will help you out of sure.

Do Share.

Thank You! Stay Blessed!


Hey, How you all are? Myself Paramjot Singh, A young (Not Old :P) addicted Blogger from Lucknow, India who want to learn Aha to Shit of the Blogging. I'm blogging for 2 years, and here on My Blogger Guides, I'm sharing my what I learned in these past two years. :)

Click Here to Leave a Comment Below 0 comments

Leave a Reply: