How To Disable Right Click In Blogger ? Prevent Your Content From Being Copied


Of course you know some websites disallow content direct copying by disabling the right click. This is to prevent the genuine content being distributed without permission.

I'm gonna show you how to disable the right click by simply adding a HTML widget to your blog. So please follow the below steps :

  • Log in to Blogger.
  • Go to Dashboard > Layout.
  • Click on Add a Gadget.
  • Select HTML/Java Script widget.
  • Paste the following codes into the widget box :
    <script language=JavaScript>
    <!--

    //Disable right mouse click Script
    //By Being Geeks
    //For full source code, visit http://www.beinggeeks.com

    var message="Function Disabled!";

    ///////////////////////////////////
    function clickIE4(){
    if (event.button==2){
    alert(message);
    return false;
    }
    }

    function clickNS4(e){
    if (document.layers||document.getElementById&&!document.all){
    if (e.which==2||e.which==3){
    alert(message);
    return false;
    }
    }
    }

    if (document.layers){
    document.captureEvents(Event.MOUSEDOWN);
    document.onmousedown=clickNS4;
    }
    else if (document.all&&!document.getElementById){
    document.onmousedown=clickIE4;
    }

    document.oncontextmenu=new Function("alert(message);return false")

    // -->
    </script>
    • Save the widget.
      if anyone right-clicks your content, The msg window will pop up like this :




        Also from Amazon :   
            1,000 Creative Writing Prompts : Ideas for Blogs, Scripts, Stories and More
            When you finally have the opportunity to sit down and write, you want absolutely nothing to get in your way. In an ideal world, the ideas would flow from head to pen quickly and easily. You would have thousands of ideas at your fingertips. This new idea-generating book makes that dream a reality.

            Other Great Stuffs : 

            Celebrity Blogging
            Discover The Secrets To Setting Up Your Own Personal Blog For MASSIVE Brand Building... And Build A Name For Yourself That People Will Know, Like And Trust!

            If You Have A Few Hours Per Week, Then We Can Show You How To Earn Significant Income With Your Own Blog! Step by Step. Click to find out !
            Know how to find a great market niche and write a successful blog? Great, you don’t need the steps within each of these components. Know how to design the web page and overcome technical difficulties? No? No problem, Here is a deeper level of instruction for that!

            Struggling to make money online? It's about to get quicker and easier than ever before...Click here !
            How JUST One Of The Blogs I Create During By The Forth Month Has Already Netted Me $2,537.29

            1500 MB of disk space, 100 GB of data transfer, PHP and MySQL support with no restrictions, cPanel control panel, Website Builder, Absolutely no advertising ! Join now : CLICK HERE !




            ?max-results=10">');

            ?max-results="+numposts2+"&orderby=published&alt=json-in-script&callback=showrecentposts2\"><\/script>");