Javascript 中屏幕截图的常用键码
寻找一个具有最常见的用于在 Javascript 中截取屏幕截图的按键代码组合的地方。我知道这最终是不可能阻止的,但我正在努力阻止屏幕截图。我知道 PrintScreen 是不可能停止的,所以这只是对其他人的预防措施。
注意 我知道我会得到“不要浪费时间”的答案,但像你们中的许多人一样,这不是我的决定,而是我被告知要做的。因此,如果您知道任何资源,请分享。
Looking for a place that has the most common key code combination used for taking screenshots in Javascript. I know this is ultimately impossible to stop but I am trying to prevent screenshots from being taken. PrintScreen is impossible it stop I know, so this is just a preventive measure for others.
NOTE
And I know I'm going to get "don't waste your time" answer but like many of you, this is not my decision but what I am being told to do. So please if you know of any resource please share.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可能想从有关该主题的另一次讨论。请注意那里的海报似乎已经放弃了这个想法;也许你也可以把它展示给你的老板?
关于该主题的另一次讨论,恐怕得出了类似的结论。
话又说回来,如果你的老板是一成不变的,也许那里有一些东西,但它是可能是垃圾。好吧,你总是可以把它卖给你的老板,如果不起作用,一句老话“告诉过你了”就可以了。
You may want to start with another discussion on the topic. Note the poster there seems to have given up the idea; perhaps you can show it to you boss as well?
Yet another discussion on the subject, with similar conclusions I'm afraid.
Then again, if your boss is immutable, maybe there is something there but it's probably rubbish. Well, you can always sell that to your boss, and if it doesn't work, a good old "told you so" will be in order.
每个人都知道你不能这样做。
无论如何,看看 Flickr 做了什么——屏幕上的图像由数百万个单像素图像组成。它看起来像原始图像,但如果右键单击并复制它,则只保存一个像素!
没有什么可以阻止打印屏幕或类似的刮擦帧缓冲区的方法。
Everybody knows you can't do this.
Anyway, take a look at what Flickr did -- there, the image on-screen is made up of millions of one-pixel images. It looks like the original image, but if you right-click and copy it, you save only one pixel!
Nothing can stop print-screen, or similar approaches which scrape the frame buffer.