有哪些方法可以防止用户对网页进行截图? [英] What are the ways to prevent users to take screenshot of a webpage?

查看:392
本文介绍了有哪些方法可以防止用户对网页进行截图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能的重复:
如何防止网页的打印屏幕?

我想阻止用户截取网页的屏幕截图.我必须在该 .html 文件中放置的代码是什么?

I want to prevent users from taking screen shots of a web-page. What should be the code I have to place in that .html file?

防止像打印屏幕那样按下按钮的代码应该是什么?因为很多网站阻止用户按任何键.

What should be the code to prevent button press like print screen? Because many website prevents users from pressing any keys.

推荐答案

屏幕截图不受 Web 浏览器控制,它们由运行在用户操作系统上的软件控制,不能由 Web 服务器远程控制.

Screenshots are not controlled by the web browser, they are controlled by software running on the user's operating system and cannot be remotely controlled by a web server.

这篇关于有哪些方法可以防止用户对网页进行截图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆