Saturday, December 14, 2013

Free script to stop copying your content

 

Do you feel your contents copied somewhere on the other website or blogs ?

Do you want to stop that by disabling selecting text ?

yes its possible in few steps.

 

Step 1.

Login to your Blogger account then go to layout

Step 2.

Add a Java Script / HTML Gadget

attach the below color code and save it then check your blog

<script type="text/javascript">

//form tags to omit in NS6+:
var omitformtags=["input", "textarea", "select"]

omitformtags=omitformtags.join("|")

function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false
}

function reEnable(){
return true
}

if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")
else{
document.onmousedown=disableselect
document.onmouseup=reEnable
}

</script>
 

No comments :