How To Disable Right Click In Blogspot
STEP 1 : Go to Blogger Dashboard -> Design -> Page Elements.
STEP 2 : Click on Add a Gadget where you wish to place Search Box.
STEP 3 : Choose HTML/JavaScript from the List.
STEP 4 : Choose your Disabler Type , Paste The Code in HTML/JavaScript & Save it.
<script
language=JavaScript> 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>
Message Alert Script:
0 comments:
Post a Comment