How to disable right-click, copy and paste on your Blog or Website
How To October 23rd. 2008, 7:48amOk maybe you have experienced writing your own original entry only to find out that other sites just copied and pasted it without your permission or even a link back to your entry.
Here’s how to disable right-click, copy and paste on your site.
Insert this code anywhere after the <head> and before the </head> tags of your site’s source.
<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>
You can try it and see if it works.
Related Entries:
Open new windows in Tabs in SafariDisable and Enable backup of iPhone or iPod Touch in iTunes (Mac)
Privacy Policy
WordPress 2.6 Released
Microsoft working on Vista successor, Windows 7
December 9th, 2008 at 10:23 pm
I cant… maybe this sintax is wrong…
January 11th, 2010 at 11:54 am
Hey, I found your blog in a new directory of blogs. I dont know how your blog came up, must have been a typo, anyway cool blog, I bookmarked you.
I’m Out!