Advertisement
3_2004-2005 Miscellaneous #145305

Use Javascript to Disable Windows Print Screen Key

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

AI

สรุปโดย 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.

ซอร์สโค้ด
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>
ความคิดเห็นดั้งเดิม (3)
กู้คืนจาก Wayback Machine