Search & Find

Sponsor Post

Best Telegram Groups List Collection - Updated

Thursday, 11 February 2016

How to Disable Right Click on Blogger blog with Pictures

Hello friends welcome to the Techtspot blog, today I will show you how to disable Right Click on Blogger blog with pictures.
Disable Right Click on Blogger

Why we need to disable Right Click on Blogger blog?

Right click is a function where we can get some of the menus that include cut, copy, paste, select all, inspect, and view page source, and using the last option we can get any source code of any web page just using the Mouse right click, this function is very dangerous because any of person can copy the source code and use it without a charge using right click they can get content, images, function code, and more.

When we use disable right-click option then we can prevent copying any of the function code, unique and valuable content, good quality images, and we can say we protect our online assets, now in this post, I give you the code which is you can apply in your blogger blog then it is disabling the mouse right click function, now let's start.

These are the Following Steps:-
Step 1: First open the blogger blog dashboard and click the Layout option then find out the place where you want to add the code and click the Add a Gadget link.
Disable Right Click on Blogger 1
Step 2: Now a new box appears middle of your device screen, select the HTML/JavaScript option.
Disable Right Click on Blogger 2
Step 3: Here you just paste the disable right-click code in the content area and click the save button.
Disable Right Click on Blogger 3
Disable Right Click Code:-
<script language=JavaScript>
<!--
//Disable right mouse click Script
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>
Step 4: Now open the Blogger blog to check the results.
Now Visit the - Demo Blog to see the result.

Above I give you my demo blog link, where I disable the Right Click function, if you are thinking to disable the mouse Right Click option in your blog then first look at the function and how its works on my demo blog.

34 comments:

  1. Thanks a lot!

    ReplyDelete
  2. wow. i like it. its so easy. thanks for it and sharing.

    ReplyDelete
  3. thanks,it works and its cool. it rocks vicihores.us and i love it that way

    ReplyDelete
  4. Replies
    1. Hello
      please provide me your blog link then i am able to help you
      thanks

      Delete
  5. can you please help me anand it's not work on my main frames

    ReplyDelete
  6. https://mytestchat4587.blogspot.com/ this is my blog link check please it's not work on my main chatrooms frames can u please help me out with this what should i do ?

    ReplyDelete
    Replies
    1. Hello
      I am really sorry but this code only work on blogger default theme :)
      thanks

      Delete
  7. Selection text then Ctrl + C still working.

    ReplyDelete
    Replies
    1. but it is only work on images, Now you want to disable copyinmg TEXT then search for it above search bar.
      thanks for comment :)

      Delete
  8. Thanks for this article, finally i did it.

    ReplyDelete
  9. Very helpful article, thanks for sharing. Check my blog also https://www.egwunutshellblog.com

    ReplyDelete
  10. good , easy and very fast....

    ReplyDelete
  11. Not working only work pc but not work in mobile and most in opera browser.

    Try it.

    ReplyDelete
    Replies
    1. When you select the mobile view then select in Choose Mobile Theme >> Custom option ...

      Delete
  12. shortcut ctl+u is not working

    ReplyDelete
    Replies
    1. Hello, so use mouse right click and click view page source simple ..

      Delete
  13. nice article about - How to Disable Right Click in Blogger, you are trending on google search. thanks for sharing useful article. i request you to please approve this comment check this blog - Insta APK

    ReplyDelete
  14. Thanks so much for sharing this informative article. Work very fine with me, https://www.egwunutshellblog.com/2021/08/how-to-remove-password-from-pdf-bank.html

    ReplyDelete
  15. Thank You. This Trick is 100% working my website: https://www.flashfile25.com

    ReplyDelete