X Close
T Saturday, September 13, 2014

How To Disable Right/left Click In Blogger

fahim raza 2 Comments so far
101Helper blogging tricks how to disable right/ left click in blog

You might have seen that in some sites right and left clicks are disabled. They are disabled in order to prevent content stealing. When content is copied from your site or blog then with the results of your site the duplicate content also appears which decreases your site value and search engines don't index your site in that way as they indexed before the content is copied.

You may find other blogs for click disabling code but there is only right click disabling code which is not effective because when you disable only right click on blog your content can still be copied by selecting the text with left click and using Ctrl+c keys on keyboard. So, In this post I will tell you how to disable right and left both clicks on your blog to prevent your content to be copied and your blog lose its value. 

How does it work?


To disable right/left click on your blog you have to add a small piece of code to your blog which will protect your content. It works in a very simple way, when someone click(left/right) the code which you add to your blog stops the mouse function hence your content is safe and protected. It will only allow user to click links, view images and leave comments but they will be disallowed to select or try to copy images and text.


How to disable right and left clicks on blog?


(1). Go to blogger Dashboard and click layout.


(2). Click add a gadget and a pop-up window will open.


(3). Scroll down the window and click Html/javascript.


(4). Copy the below code and paste it in html/javascript tab.


Get code


(5). Save the gadget and you are done.


Open your blog and check right/left click it must be disabled, if the code is not working on your blog or you got any question or any suggestion then leave a comment below, I will be glad to help you. Don't forget to follow and subscibe for latest news.



Tags: How to disable right/left click on your blog to prevent someone copy your content, copy/paste content prevention code, 101Helper tricks for blogging, 101Helper new tricks. 



2 comments :

  1. Hello! I wonder, can be added an exception that make for example block-quote able to right and left click?

    ReplyDelete
    Replies
    1. I didn't get you but if you are asking to block click on some text and allow on some text then you can use the above code but you have to load that text which you want to be selectable from external sources like google drive or pastebin.com

      Delete