Simple Trick to Disable Right Click on Blogger Blog |
*First of all you have to sign in to your blogger and select your site on which you want to prevent copy pasting.
*Now move on to layout option.
*Click on Add Gadget
*Now click on html/javascript and copy paste this code given below.
<script language=javascript>
<!--
//Disable right click script - By mastermindgeeks.com
//
var message="This option is 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>
*You can change the message by replaying This option is disabled with your messsage in the given script.
Now you have successfully disabled right click on blogger blog easily and this is a great and simple tweal to prevent your content from copy paste. If you have any problem then please comment below and i'll resolve it as soon as possible.
No comments:
Write comments