How To Disable Right Click on Your Blog
How To Disable Right Click on Your Blog

You can disable text and Image selection from your blog. This, to an extent, prevent copy pasting of your content. People usually select text, right click and copy it and paste it on their blog. This is how content thieves copy content from other blogs. We can’t completely stop them but we can make it harder for them. If we disable right click on our blog, we can protect our content from plagiarism. Let see, how to do that.
To prevent text selection:
- Go to Blogger dashboard > Layout
- Click on Add a gadget and select HTML/JavaScript gadget.
- Paste the below code inside that
<!–BTT Code –>
<!–bloggertipstricks.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>
4. Save the widget and you’re done.
Note : This process won’t allow anyone to highlight text or images on your blog and prevent copy pasting.
0 comments:
Post a Comment