如何使用javascrip禁用mozila firefox中的printscreen按钮 [英] how to disable printscreen button in mozila firefox using javascrip

查看:88
本文介绍了如何使用javascrip禁用mozila firefox中的printscreen按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,

我已经成功地仅在IE中禁用了printscreen
现在我想在Firfox中禁用
任何人都知道,请与我分享

我的JavaScript代码是

Hi Friends,

i have done sucessfully disable printscreen in IE only
now i want to disable in Firfox
any one knows please share with me

my javascript code is

function do_err()
    {
        return true
    }
onerror=do_err;
function no_cp()
    {
        clipboardData.clearData();setTimeout("no_cp()",100)
    }
no_cp();





<HTML>
<HEAD>

<!-- (c) 1998-2010 ArtistScope (www.artistscope.com) -->
<SCRIPT SRC="no-printscreen.js"></SCRIPT>
</HEAD>
<BODY>
        This printscreen test file
</BODY>
</HTML>




我正在等待您有价值的重播

谢谢
Venkat.S




i m waiting for u r valuable replays

Thanks
Venkat.S

推荐答案

您不能.真可笑您编写的任何js都可以被黑客禁用.算了吧.
You can''t. How ridiculous. Any js you write, a hacker can disable. Forget about it.


这篇关于如何使用javascrip禁用mozila firefox中的printscreen按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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