如何在JavaScript中捕获printscreen事件? [英] how to capture printscreen event in javascript?
问题描述
我试图编写一个在其中包含一些敏感内容的web应用程序。我已经阻止了复制和粘贴。如何检测某人何时按下了打印屏幕键,以便在按下时可以隐藏数据?
I'm trying to write a webapplication which has some sensitive content in it. I have already prevented copy-and-paste. How do I detect when someone presses the printscreen key, so that the data may be hidden when that is pressed?
不要担心手机/相机/屏幕录制软件,因为它们不在环境中使用。
Do not worry about mobile phones/cameras/ screen recording software, as they are not used in the environment.
推荐答案
我去google搜索这些信息,我希望下面的2个链接能够帮助你。
I went googling for the information and I hope the 2 links below will be able to assist you.
http://social.msdn.microsoft.com/Forums/en/vbgeneral/thread/0778d7f2-84d3-471e-9211-337bd7e94f49
http:// www。 webdeveloper.com/forum/archive/index.php/t-21431.html
这篇关于如何在JavaScript中捕获printscreen事件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!