custom
codes
Disable Right Click On Your Blog To Prevent Copy/Paste
custom-codes - Bloggers always wanted to prevent users or other bloggers from copying the content from their blog or website. Few Bloggers do lots of efforts by researching and writing great articles for their blog, whereas some just copy and paste article and tutorials on their blog from others. So to prevent such bloggers from copying the content from your blog i will teach you to disable right click on your blog with just simple Javascript. So lets get started.
- Go to your blogger Dashboard and click on Layout.
- Then click on Add Gadget.
- Choose Html/Javascript From Popup Window
- Now Copy and Paste below code into it.
- now save it and refresh your blog, and TaDa...you are done disabling right click on your blog.
this javascript for disable right click :
<!--CS Code -->
<!--custom-codes.blogspot.com-->
<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>
Subscribe to:
Post Comments (Atom)

Post a Comment