Today i will be posting on how to disable right click for blogger..
before doing this you can back up your Template if you like,, but here we will be just Adding GADGET, no need to worry
After you Click AddGadget,, Pop up will come up,, see pic
.
First we have Sign in to Blogger and then goto Dashboard
then select Layout. See Pic
After that you will see Add Gadget in sidebar/footer, click on that see pic
After you Click AddGadget,, Pop up will come up,, see pic
In that Popup Tab Choose HTML/Javasccript
<script language=javascript>
<!--
var message="function disable by biakmuancj";
///////////////////////////////////
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>
or this one
<!- START disable copy paste --><script src='demo-to-prevent-copy-paste-on-blogger_files/googleapis.js'></script><script type='text/javascript'> if(typeof document.onselectstart!="undefined" ) {document.onselectstart=new Function ("return false" ); } else{document.onmousedown=new Function ("return false" );document.onmouseup=new Function ("return false"); } </script><!-- End disable copy paste -->
or this one
<!- START disable copy paste --><script src='demo-to-prevent-copy-paste-on-blogger_files/googleapis.js'></script><script type='text/javascript'> if(typeof document.onselectstart!="undefined" ) {document.onselectstart=new Function ("return false" ); } else{document.onmousedown=new Function ("return false" );document.onmouseup=new Function ("return false"); } </script><!-- End disable copy paste -->
Then Save your Template.
After that Refresh your blog.. it should work just fine..