• Breaking News

    23 January 2017

    How to disable right click on blogger/blogspot?



    disable copy paste on blogs

    Disabling right click option to stop copying on blogger



    Normally, most blogs keep the right click option enabled to let their users navigate, copy, print, save and reload their webpages. But sometimes the dirty minded users just visit your blog for just copy pasting your content. So to stop them copy pasting and to protect your blog, you have to disable the option of right click.

    Once right click has been disabled the option of copying from right click is banned. But You all know the shortcut key ctrl+c to copy the text. so the content is till not secure.

    So, the next step is that if you disable text selection in your blogs then ctrl+c also won't work.

    Now, the blog is secure and protected. You can check out this by right clicking on my blog.

    The Steps to disable right click in blogger is shown below.


    Step 1: Go to Layout Tab in the left side of the blogger menu.


    html script to disable right click


    Step 2: Click on 'Add a Gadget' at anywhere (You can choose sidebar left or right or anywhere where you can add html script as this won't appear)


    remove copy paste option on blogger

    Step 3: Now choose the widget 'HTML/ Javascript'.


    steps to remove copy paste option


    The blank space to enter the blogger's html script would appear. Paste the following code from the link and click 'save'.



    <script language=javascript>
    <!--
    //edit by iamravlo

    var message="Right Click Has Been 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>
    Link to copy this script: Click Here 


    NOTE: First Apply html script for disabling text selection in your blog : Click Here
    and then apply html script for disabling right click in your blog: Click Here

    Perform both these tasks to have complete protection of your blog. 


    14 comments:

    1. thanks for this info.

      ReplyDelete
      Replies
      1. I just applied your scripts to my blog and its perfectly working so thanks, but I just want to ask you that If I don't want to disable text selection (Only copy paste disable), then what to do ???

        Delete
    2. Thanks for the simple and easy implementation of the codes. it displays well on my site healthcentera.com and i love the display very much.

      ReplyDelete
    3. post link bhi click nahi ho rahi???

      ReplyDelete
    4. Thank you for sharing. I locked my blog

      ReplyDelete
    5. Facebook is the best social media platform that comes with excellent features to enhance the user’s experience. Now, the question comes what to do if you want to create a page. For that, go to facebook.com/pages/create. Click to choose a page type and fill out the required information. After that, click on Continue and follow the on-screen instructions and call on +44-800-368-9064 to get connected with the experts for instant and reliable help regarding the resolution.
      Facebook Help Number UK

      ReplyDelete
    6. If you want to clear Facebook messenger chat, you will need to open the Facebook Messenger app on your phone or desktop. Then, open a conversation with the message which you would like to delete. Now, press and hold on a message and choose the three dots menu icon appears on the desktop. After that, choose “remove” appears next to the message. Call on +44-800-368-9064 for any help regarding the resolution in case if you want.
      Facebook Support Number UK

      ReplyDelete
    7. Very informative. It works on iworkngr.info

      ReplyDelete
    8. I used it on efeedsng.info and it works fine.

      ReplyDelete

    Go Back To Home

    Total Pageviews

    Ads By Google

    About Me

    Hey, This is Ravi Patel from India. Ravlo is my nickname. Ravlo is a blog for technology plus Internet lover. My main vision is to share knowledge on Technology, Blogging, How to make money online, Starting & managing a blog, WordPress, Social-media, and SEO. I also love doing photography.

    Popular Categories