Sometimes we notice that some of the blogs & websites don’t allow their visitors to copy post text or images. They have disable copy or you can say that disable right click on their website or blog. This trick is very useful for the websites and blog creators who do not want their content to be copied by any other.
When someone wants to copy some text from website or blog in any internet browser Right click is very important option. If we disable right-click in a blog or website, this will prevent copy the site text, images etc.
The following tutorial will disable right Click to both your WordPress & Blogger.
For Blogger
To Disable right click button on your blogs so no one can copy your posts follow this procedure.
1. Go to blogger Dashboard and then Click on Layout.
2. Now Click on Add Gadget and select Html/JavaScript.
3. Now paste code given below.
4.Save it and done.
For WordPress
1. Go to WordPress Dashboard and then Click on Appearance.
2. Now Click on Add Gadget and select Text.
3. Now paste code given below.
<!–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>
4. Save it and done.