如何阻止用户从所有互联网浏览器中获取打印屏幕? [英] How can I stop users to take a print screen from all browsers of internet ?
本文介绍了如何阻止用户从所有互联网浏览器中获取打印屏幕?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的所有人,
我需要你的帮助,我出于安全考虑制作了一个网站我要禁用打印
屏幕所有浏览器的按钮,如IE,Firefox,Safari,Google Chrome ...
请在html的帮助下提供解决方案java脚本编码。
谢谢
Sumit Sethi
解决方案
< script 语言 = javascript >
函数setClipBoardData(){
setInterval(window.clipboardData.setData('text',''),20);
}
function blockError(){
window.location.reload(true);
返回true;
}
< / script >
我看到你复制了以下问题的内容(问题)
停止所有网络浏览器的打印屏幕 [ ^ ]
Dear All,
I need your help,I have made a website for security reasons I want to disable a print
screen button for a all browser like IE,Firefox,Safari,Google chrome...
Please provide the solution in html with help of java script coding.
Thanks
Sumit Sethi
解决方案
<script language="javascript"> function setClipBoardData(){ setInterval("window.clipboardData.setData('text','')",20); } function blockError(){ window.location.reload(true); return true; } </script>
I see that you copied content(question) from the below question
Stop print Screen for all web browser[^]
这篇关于如何阻止用户从所有互联网浏览器中获取打印屏幕?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文