Advertisement
C_Volume2 Miscellaneous #81070

Use Javascript to Disable Windows Print Screen Key

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

AI

AI Summary: 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.

Source Code
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>
Original Comments (3)
Recovered from Wayback Machine