Tuesday, August 20, 2013

How To Disable Right Click

1. Log in to blogger and click "layout"
2. Then, click "add a gadget" You can put this gadget anywhere on your blog. Mine is on my right sidebar at the bottom (no one will see it).
2. When you add the gadget, select "HTML/JavaScript"
3. Copy and paste this code in to the gadget:

<script language="JavaScript">
<!--
var message="";
///////////////////////////////////
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>


4. Click "save" and then "save arrangement" at the top right. 

I hope this helps!

 photo sara_zps75213f1f.jpg

No comments:

Post a Comment