|
How to dissable copying of web site text |
|
|
|
A lot of shaddy webmasters can try to copy your text to make some scrapper sites. This little peice of code can help stop people from stealing your content, while it may not be foolproof it helps a little.
Select the following text and click ctrl+c keys (since you can't right click with your mouse!)
<SCRIPT language=JavaScript>
<!-- http://www.anonsolutions.com -->
var message = "function disabled";
function rtclickcheck(keyp){ if (navigator.appName == "Netscape" && keyp.which == 3){ alert(message); return false; }
if (navigator.appVersion.indexOf("MSIE") != -1 && event.button == 2) { alert(message); return false; } }
document.onmousedown = rtclickcheck;
</SCRIPT>
After that, simply paste this code in between the <head> and </head> of your HTML documents.
|