<script type="text/javascript"> <!-- /* $Id: disable-selection-text.js (snipped) v 1.01a 23:01 07/07/2015 robcor Exp $ */ /* $Description: disable selection text on HTML page. $ */ /* $Language: js >= 1.1 $ */ /* $First-version: 11:34 21/03/2004 $ */ /* $Confirmed-last-revision: Roberto CORRADO $ */ /** * SCRIPT SVILUPPATO PER CONTO DI: TOOLS.CORRADOROBERTO.IT * ROBERTO CORRADO AT WWW.CORRADOROBERTO.IT * IL PRESENTE SOFTWARE E' COPERTO DAL PRINCIPIO DI * PROPRIETA' INTELLETTUALE, PER TANTO E' CONSENTITO * L'UTILIZZO PER I SOLI AMBITI CONCORDATI. **/ window.onload=function(){ var obj=document.body; if(typeof obj.onselectstart!="undefined"){//ie obj.onselectstart=function(){return false} }else if(typeof obj.style.MozUserSelect!="undefined"){//mozilla obj.style.MozUserSelect="none" }else{//others obj.onmousedown=function(){return false} } obj.style.cursor = "default" } // --> </script>
Show this record as plain/text
nopaste service by: Roberto Corrado