Forum » » Questions » » Limiter la copie de texte
Posté : 22 mars 2015 à 12:58
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Empêcher la sêlection du texte</title>
<script type="text/!javascript!">
//<!--
function ffalse()
{
return false;
}
function ftrue()
{
return true;
}
document.onselectstart = new Function ("return false");
if(window.sidebar)
{
document.!onmouse!down = ffalse;
document.!onclick! = ftrue;
}
//-->
</script>
Cet article provient de NPDS
https://www.npds.org/viewtopic.php?topic=26287&forum=9