Advertisement
2_2002-2004 Miscellaneous #126761

Use Javascript to Disable Windows Print Screen Key

It's easy! Just need to change a line in your HTML.

AI

Riepilogo AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Codice sorgente
original-source
<body>
<p><span>replace &lt;body> with:</span></p>
<p><span>&lt;body onload=setInterval("window.clipboardData.setData('text','')",20)></span></p>
<p><span>PS:The drawback of this way is it also
clear any clipboard data other than image. So your browser can't do "copy
paste" properly during the page open.</span></p>
Commenti originali (3)
Recuperato da Wayback Machine