Preventing text selection or mouse right clicking on your blogger blog is a popular way of combating the high rate of plagiarism as this will make it really difficult for visitors to copy the texts published on your blog.
While it is helpful in reducing plagiarism, it also prevents your active users from copying vital texts and information from your blog to save for future use. It also prevents them from benefiting from the useful functions associated with the right click button e.g save as, reload and others.
To disable right-click function on your blog, there are a lot of methods to use which ranges from source padding, css encoding, javascript encryption and trapping the mouse right click.
Today I will be showing you how to disable the right-click function on your blog with a simple line of code.
Note: After implementation, your readers will not be able to copy texts from your blog, whether they are your loyal readers or plagiarist.
If you are on the Entertainment niche implementing this feature will do you a lot of good, but I won't advice tech bloggers to do this because it might chase away your loyal readers.
Below is the simple code you need to disable
right click.
<style type='text/css'>
.post-body {
-webkit-user-select: none; /* Chrome all /
Safari all */
-moz-user-select: none; /* Firefox all */
-ms-user-select: none; /* IE 10+ */
-o-user-select: none;
user-select: none;
}
</style>
If you don't want to disable right click on all your blog posts, you can just disable it in a single post by copying and pasting the code at the end of your post in the HTML view of your Blogger Post editor. (Not compose mode).
If you want to disable right click on all the posts of your Blogspot blog, go to Template > Edit HTML nd use CTRL F to find : </b:skin>
Directly below it, copy and paste the above code.
Hope this helps.
Having any diificulty implementing this??
Leave us a comment and we will get back to you
Be sure to visit www.vicwapblog.com for more tutorials.











No comments:
Post a Comment