Thursday, June 20, 2013

Content thieves are increasing day by day , they copy your content and change some words in it , use a few SEO tricks and make Google bots perceive the stolen content as original one , and their blog appear before yours on search results , yeah its that easy ,and this situation annoys every web master , but with a javascript code we can prevent thieves from copying our content.



With this javascript code , nobody will be able to click right on your site and since they cannot select the content CTRL + C combiantion will not work , here’s the code written by Andy Scott :
Copy the java codes below , before </body> tag without expanding template.

<script language=’JavaScript1.2′>
//Disable select-text script (IE4+, NS6+)- By Andy Scott
//Exclusive permission granted to Dynamic Drive to feature script
//Visit http://www.dynamicdrive.com for this script
function disableselect(e){
return false
}
function reEnable(){
return true
}
//if IE4+
document.onselectstart=new Function (&quot;return false&quot;)
//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>
<script language=’JavaScript’>curPage=1;
document.oncontextmenu = function(){return false}
if(document.layers) {
window.captureEvents(Event.MOUSEDOWN);
window.onmousedown = function(e){
if(e.target==document)return false;
}
}
else {
document.onmousedown = function(){return false}
}</script>
You need proof ? Click this blogspot blog about Free Software Zone and try.

0 comments:

Post a Comment