If you are the owner of blog and website then you always want to prevent your data from other users.You must have written a post with great efforts and lots of research but others simply copy and paste it on his/her blog.
To Prevent this problem I will show you Javascript trick to disable right click on your blog.Lets get started.
Four simple steps to follow.
1.Go to your blogger dashboard and then click layout.

2.Now click on Add Gadget and select html/javascript.

3.Now paste the code in the window.
<!--MBW Code-->
<script language='JavaScript1.2'>
function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>
<!--Code End http://chapandlasstoknow.in>
Note: In the above code,in last link you have to specify your blog address.
4. Save it and done.Now users will not be able to right click on your website.

super techinqe
ReplyDeletesuper !!
ReplyDelete