Search In Site

03 June, 2013

Disable Right Click On Your Website Or Blog

Learn How To Disable Right Click On 

Your Website Or Blog From Visitors.


If you own a blog or a website then you always want to prevent other malicious bloggers from copying the content from your blog. You might have written an article with great efforts and lots of research and other just copy/paste it on their blog. To prevent such users from copying content from your blog use This Trick 
To Disable Right Click On Your Blog


  • Goto Blogger DashBoard Click On Layout 
  • Click On Add Gadget , Select HTML / JavaScript From The List.
  • Now Click On Edit On ot And Paste The Following Code And Save it.



<!--Code Start for Disabling Right Click In Blog-->
<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 for Disabling Right Click In Blog-->

0 comments:

Post a Comment

Dear Visitors All The Tricks And Hacks Posted Here Are Only For Knowledge Purpose.Don't Use These for Illegal Operations.

 
Twitter Bird Gadget