For Disabling Right click of mouse on your blogger website you need to add below javascript code in your blogger blog.
Step 1: Go to your blogger Dashboard.
Step 2: click on layout.
Step 3: click on Add a Gadget
Step 4: Click on HTML/JavaScript and Paste the above code and save it.
All Done...
<script language=javascript>
<!--
//Disable right click script//
var message="Function Disabled";
////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</script>
Step 1: Go to your blogger Dashboard.
Step 2: click on layout.
Step 3: click on Add a Gadget
Step 4: Click on HTML/JavaScript and Paste the above code and save it.
All Done...
Post a Comment
Post a Comment