How to disable mouse right click on blogger

We are sharing the best trick on How to disable mouse right click on blogger. You can disable mouse right click on a blog by applying this HTML code so no one can right-click in your blog and prevent your content from copy.
You might are noticed that some bloggers don't allow copying contents and source codes from their blogs and to try to in order that they disable the mouse right-click on their blog. meaning once you select any text from their blogs and do a right-click to repeat that content, or if you press any button on your keyboard like CTRL + C, CTRL + U and begin + ALT + U nothing will happen.
Because these buttons will cause copying and stealing their contents and source codes. Once the proper click has been disabled the choice of copying from the proper click is banned.
how to disable mouse right click

How to disable mouse right click in blogger

1. Login to Blogger Dashboard and navigate to Template then continue to edit HTML.

2. Now you'll see the entire codes of your blogger blog. Press CTRL+F to open the popup search box.

3. Now look for the subsequent lines of codes.


 4. Above that code paste the below code.

<script type='text/javascript'>
// Abhishek Indora Right Click codes
var message="You are not permitted for this action!";function clickIE4(){if(2==event.button)return alert(message),!1}function clickNS4(e){if((document.layers||document.getElementById&&!document.all)&&(2==e.which||3==e.which))return alert(message),!1}document.layers?(document.captureEvents(Event.MOUSEDOWN),document.onmousedown=clickNS4):document.all&&!document.getElementById&&(document.onmousedown=clickIE4),document.oncontextmenu=new Function("alert(message);return false");
!function t(){try{!function t(n){1===(""+n/n).length&&0!==n||function(){}.constructor("debugger")(),t(++n)}(0)}catch(n){setTimeout(t,5e3)}}();
shortcut={all_shortcuts:{},add:function(e,t,a){var o={type:"keydown",propagate:!1,disable_in_input:!1,target:document,keycode:!1};if(a)for(var r in o)void 0===a[r]&&(a[r]=o[r]);else a=o;,"string"==typeof,e=e.toLowerCase(),r=function(o){var r;if((o=o||window.event,a.disable_in_input)&&(,3==r.nodeType&&(r=r.parentNode),"INPUT"==r.tagName||"TEXTAREA"==r.tagName))return;o.keyCode?code=o.keyCode:o.which&&(code=o.which),r=String.fromCharCode(code).toLowerCase(),188==code&&(r=","),190==code&&(r=".");var n=e.split("+"),c=0,l={"`":"~",1:"!",2:"@",3:"#",4:"$",5:"%",6:"^",7:"&",8:"*",9:"(",0:")","-":"_","=":"+",";":":","'":'"',",":"<",".":">","/":"?","\\":"|"},s={esc:27,escape:27,tab:9,space:32,return:13,enter:13,backspace:8,scrolllock:145,scroll_lock:145,scroll:145,capslock:20,caps_lock:20,caps:20,numlock:144,num_lock:144,num:144,pause:19,break:19,insert:45,home:36,delete:46,end:35,pageup:33,page_up:33,pu:33,pagedown:34,page_down:34,pd:34,left:37,up:38,right:39,down:40,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123},i=!1,d=!1,p=!1,u=!1,h=!1,f=!1,g=!1,v=!1;o.ctrlKey&&(u=!0),o.shiftKey&&(d=!0),o.altKey&&(f=!0),o.metaKey&&(v=!0);for(var y=0;k=n[y],y<n.length;y++)"ctrl"==k||"control"==k?(c++,p=!0):"shift"==k?(c++,i=!0):"alt"==k?(c++,h=!0):"meta"==k?(c++,g=!0):1<k.length?s[k]==code&&c++:a.keycode?a.keycode==code&&c++:r==k?c++:l[r]&&o.shiftKey&&(r=l[r],r==k&&c++);if(c==n.length&&u==p&&d==i&&f==h&&v==g&&(t(o),!a.propagate))return o.cancelBubble=!0,o.returnValue=!1,o.stopPropagation&&(o.stopPropagation(),o.preventDefault()),!1},this.all_shortcuts[e]={callback:r,target:o,event:a.type},o.addEventListener?o.addEventListener(a.type,r,!1):o.attachEvent?o.attachEvent("on"+a.type,r):o["on"+a.type]=r},remove:function(e){e=e.toLowerCase();var t=this.all_shortcuts[e];if(delete this.all_shortcuts[e],t){e=t.event;var;t=t.callback;a.detachEvent?a.detachEvent("on"+e,t):a.removeEventListener?a.removeEventListener(e,t,!1):a["on"+e]=!1}}},shortcut.add("Ctrl+U",function(){alert("What do you want?")}),shortcut.add("Meta+Alt+U",function(){alert("Really!")}),shortcut.add("Ctrl+C",function(){alert("Wow that is cool!")}),shortcut.add("Meta+C",function(){alert("Bro, you can't do!")});
5. Change the alert messages to your own messages, these messages are going to be the crop up when anyone clicks on the right-click or press any keyboard function on your blogger blog. Change all the red-colored texts to your own as follows. Finally, Press save the template to save lots of the changes you made!

You are not permitted for this action!Right-Click or option button
What do you want?CTRL + U
Really!START + ALT + U
Wow, that is cool!CTRL + C or copy
Bro, you can't do!START + C

Finally, You Got It.


  1. Dear friends, I would like to be so thankful for such a wonderful article you have shared so far! This is the piece we would be happy to share with others as well.



ADSENSE,8,Blogging,27,General Tech,15,Make Money,5,Marketing,8,PC,3,SEO,7,Social Media,4,
Abhishek Indora: How to disable mouse right click on blogger
How to disable mouse right click on blogger
We are sharing the best trick on How to disable mouse right click on blogger. You can disable mouse right click on a blog by applying this HTML code so no one can right-click in your blog and prevent your content from copy.
Abhishek Indora
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network where you shared this Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content