Pages

Tuesday, 16 July 2013

Disable Copying From Your Blog

                   
Many bloggers work hard on writing their blog articles but unforunately other 

newbie bloggers just copy his articles to his blog -_-.


Disable copying from your blog

So in this article I'm going to disable copying from your blog with this code, 

Just follow these steps:-

Step 1:-Login your blogger account.

Step 2:-Go to layout.

Step 3:-Create new Gadget and Choose HTML/Java script.

Step 4:-Copy this following code and save your template.



<script>
var message="no copying!!";
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>

That is it... Good Luck.

No comments:

Post a Comment