Disable copy paste except specified codes using css

Disable copy paste except codes using css
Most of the Genuine Bloggers faces the problem of plagiarism. Generally the New bloggers do not understand the value of quality content. You are spending a lot of time to write your blog posts but a content thieve visits to your blog and copies all your work. Some times those content thieves results can be first in Google Search then you , So its a head cache for you .You can use disable copy script in your blog.But If your blog deals with some tutorial codes or text to be copied,you cant use that script.So today, I am going to reveal a trick to disable copying except your specified codes to be copied using simple css tricks.Live Demo can be seen in this blog.



Advantages of this CSS:

  • No javascript .So, It does not affect your blogs load time.
  • It works on all major browsers.
  • You can use this css in all type of blog niche.

 How to add this CSS to your blog ?

  • Login to Blogger > Dashboard
  • Click on Drop Down Menu and select Template
  • Backup your Template before making any changes to your blog
  • Now Click on Edit HTML > Proceed
  • Press Ctrl + F and search the code shown below. 
]]></b:skin>
  • Paste below codes above it.
.post-body {-webkit-touch-callout: none; -khtml-user-select: none; -moz-user-select: -moz-none; -ms-user-select: none; user-select: none; text-align: justify;} blockquote {-webkit-touch-callout: text; -khtml-user-select: text; -moz-user-select: text; -ms-user-select: text; user-select: text;}

Editing CSS

Replace blockquote with your html tag to which you use to display the codes.Example:I am using blockquote tag to highlight the codes (i.e)

                 <blockquote>          

                  code goes here....

                 </blockquote>

So, I used blockquote tag in above css.If your using something <codeview> your text </codeview> ,You need to replace blockquote with codeview.Now your css codes will look like,

.post-body {-webkit-touch-callout: none; -khtml-user-select: none; -moz-user-select: -moz-none; -ms-user-select: none; user-select: none; text-align: justify;} codeview {-webkit-touch-callout: text; -khtml-user-select: text; -moz-user-select: text; -ms-user-select: text; user-select: text;} 

  • Now save the template .
Congratulation, now your blogger site is completely plagiarism protected.Remember this code is secure and it does not harm your SEO.Please share this post with your friends.If you have any doubts regarding this topic,Just comment below.I will answer as soon as time allows.

32 comments:

  1. Nice Post Durai..Will this css prevent my Codes also from being copied??

    Top 5 Blogger Widgets OF 2013
    http://prohackertools.blogspot.com/2013/03/top-5-best-blogger-widgets-of-2013.html

    ReplyDelete
    Replies
    1. http://mahorviicons.blogspot.com/

      Delete
  2. welldone
    must check this Click Here

    ReplyDelete
    Replies

    1. http://mahorviicons.blogspot.com

      Delete
  3. Brilliant work, I post your clone templates here with the link back of your blog: http://www.bloggerheroe.com/2013/02/professional-blogger-templates.html

    Best Regards:
    http://www.bloggerheroe.com/

    ReplyDelete
  4. Not that I'm saying you copied this or I don't like this post, but to be truthful I've already seen the trick somewhere, of-course it didn't work but your's do. So Congrats from me...hehehe ;)

    ReplyDelete
    Replies
    1. Just a little request; when someone tries to copy from our site how to add a popup right after the try (ie. Copying is disabled on this page to stop plagiarism )<- something like that, and also if we can customize the popup. ThANKS Learned a lot From you.

      Delete
  5. This comment has been removed by the author.

    ReplyDelete
  6. Dear Durai Sankar Kindly stop distributing the mbt v2.0 template because they are reporting the blogs which are distributing the clones of their template to DMCA and this can cause your blog to be deleted

    ReplyDelete
  7. hello,can u please share your template please?

    ReplyDelete

  8. Thank you for what you think in my blog
    http://bilokr.blogspot.com/


    Thank you my brother adavhraeah

    ReplyDelete
  9. Not working with my template, Here it is


    PremiumISM

    ReplyDelete
  10. how about disable tynt only on blockquote ? Would you make it ?

    ReplyDelete
  11. Thank You So Much! I follow the tips that you gave me and now its working! Now i can protect my content from being copied.
    This is my blog after following your advice: http://infoaday.blogspot.com/
    Thank you again!!

    ReplyDelete
  12. why cant work in my blog? if I use your code, my document (all the text) also can select and copy. How to make the copy paste is disable to only for code or blockquote?

    ReplyDelete
  13. can you give example on how it's used as ur description is some what obsure

    ReplyDelete
  14. Thanks for sharing such kind of nice and wonderful collection......Nice post Dude keep it up.

    I have appreciate with getting lot of good and reliable and legislative information with your post......
    web design quote

    ReplyDelete
  15. Awesome Post
    Simple, Quick and good info

    Do Visit http://she-toldme.blogspot.com/

    ReplyDelete
  16. really nice, going to implement it on my blog, anyway thanx dude

    ReplyDelete
  17. thx





    http://sikmentech.blogspot.com

    ReplyDelete
  18. For Free Backgrounds...
    One time Visit Please....
    http://www.allfreebackgrounds.blogspot.com/

    ReplyDelete
  19. Grateful to check out your website, I seem to be ahead to more excellent sites and I wish that you wrote more informative post for us. Well done work.

    ReplyDelete
  20. blogging tricks @ tips money making ideas and all methodes of seo see in this site seomethodes.blogspot.com

    ReplyDelete
  21. Keep sharing ideas .... Your valuable ideas will help newbies to grew up into professionals..... This ideas will make newbies to become more efficient in the field... So share more and more......!!! Make Money , Blogging Tips

    ReplyDelete
  22. interesting article.....article like this will help newbies like me in the beginning..... At the same time we expect more and more topics with huge informations,tips, tricksin the future…. Make Money , Blogging Tips

    ReplyDelete
  23. Very nice post thank you very much

    ReplyDelete
  24. Thank u Sir U have sloved my Problem....

    http://stuffskeleton.blogspot.com/

    ReplyDelete
  25. Awesome post Written by you,Thanks for sharing ,this was helpfull :)

    ReplyDelete

Please don't spam. We hate spammers