bloquear seleccion texto

 

metodo C

http://www.blogdelujo.com/2009/12/bloquear-seleccion-de-textos-en-blog.html


añades un gadget normal y pones

Colocar en un gadget Javascipt/HTML el script:



<script language="Javascript">

function disableselect(e){

return false

}

function reEnable(){

return true

}

document.onselectstart=new Function ("return false")

if (window.sidebar){

document.onmousedown=disableselect

document.onclick=reEnable

}

</script>

Comentarios