Text selection block
Home » Tutorials for Blogging » Text selection block
Tutorial by V4ny
This script blocks the text selection on your blog, put it into the HEAD tags of HTML code:
<script language=JavaScript1.2>
//Disable select-text script (IE4+, NS6+)- By Andy Scott
//Exclusive permission granted to Dynamic Drive to feature script
//Visit [URL]http://www.dynamicdrive.com[/URL] for this script
function disableselect(e){
return false
}
function reEnable(){
return true
}
//if IE4+
document.onselectstart=new Function ("return false")
//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>

