Press Ctrl+D To Bookmark Us/Save us To Access in Future Time..


Download and Share Our Apps and HELP to GROW..

Related Posts Plugin for WordPress, Blogger...

Disable Copy Paste Of Specific Codes With CSS

Posted by Unknown  |  at  04:16 No comments

DdNYpPGW.png
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.

VIJAY DOLAR

I am from SURAT, India pursuing Bio.Technology. I am fond of digging into technological interest. I love to share my knowledge with the world.

Get Updates

Subscribe to our e-mail newsletter to receive updates.

Share This Post

Related posts

0 comments:

Press Ctrl+D To Bookmark Us/Save us To Access in Future Time..

Please SAVE US as Bookmark Press (CTRL+D)

Tell your friends!

LIKE US ON FACEBOOK+

GOOGLE+
eXTReMe Tracker

Note

all the images of this blog are taken from google search result. if you think that is problem with you feel free to contact us with proof i will remove from this blog.

Contact Form

Name

Email *

Message *

back to top