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 (inauma sana) . 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.
How to disable right click on blog or website ?
1. Go to your blogger Dashboard and click on Layout.
2. Then click on Add Gadget.
3. Choose Html/Javascript From Popup Window
4. Now Copy and Paste below code into it.
<!--MBW
Code -->
<!--mybloggersworld.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>
<!--mybloggersworld.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>
5. Now save it and you are done disabling right click on your blog
Enjoy any no body atakopi kazi yako tena.
0 comments:
Post a Comment