thrax |
|
| ho trovato questo codice che se inserito e un utente vuole copiare immy o testi preme il tasto destro e appare un messaggio che volete voi. ecco il codice: CODICE <script language="JavaScript1.2" type="text/javascript"> <!-- Start /* prelevato su web-link: http://www.web-link.it */
function right(e) { if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)) return false; else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) { alert("°°°°°INSERITE QUA IL MESSAGGIO A VOSTRA SCELTA°°°°°"); return false; } return true; } document.onmousedown=right; if (document.layers) window.captureEvents(Event.MOUSEDOWN); window.onmousedown=right;
// end --> </script>
Edited by thrax - 18/2/2006, 13:21
|
| |