How to Disable Right Click On the Blog

author photo
Click the right mouse button on the browser is the best thing to do to view, copy, save the text file, image / image and object code on a web page. Especially for webmasters, webmasters who enjoy searching for ingredients to make the website. copy and paste, image and text is more easily done with a click right mouse button on the browser page, and save it or view.
But some people may use it in a bad way or even illegal acts without permission re-publish images or text without leaving the info source image or text, and as owner of the website / blog you might not want to have some content in your website or blog copy without permission , therefore you can use the option disable right click or disable right click on your blog to protect your text, links and pictures etc .

So all what you have to do is just a simple step, How to disable right click on the blog are as follows:

  1. Go to your account blogger > Page Layout Elements.
  2. Click Add Gadget  > Choose HTML / Javascript.
  3. Copy and Paste the following code in it.

    <script language="JavaScript">
    //Disable right mouse click Script
    //By Maximus ( w/ mods by DynamicDrive
    //For full source code, visit
    var message="Sorry again routine maintenance. Please try again. Please use Ctrl + C";
    function clickIE4(){
    if (event.button==2){
    return false;
    function clickNS4(e){
    if (document.layers||document.getElementById&&!document.all){
    if (e.which==2||e.which==3){
    return false;
    if (document.layers){
    else if (document.all&&!document.getElementById){
    document.oncontextmenu=new Function("alert(message);return false")
    // -->

  4. Click Save.

    NOTE :
    Blue-colored HTML sentence you can replace with the desired sentence, eg "banned right click" and others. To replace the above code.

    Hopefully Helpful

Next article Next Post
Previous article Previous Post