取消激活浏览器的打印功能 [英] Deactivate browser's print function

查看:148
本文介绍了取消激活浏览器的打印功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我听说有可能禁用网页浏览器的打印功能,是不是有人知道如何做到这一点?

I hear it is possible to disable the web browsers print function, does
anyone know how to do that?

推荐答案

Cartoper< ca ****** @ gmail.comwrites:
Cartoper <ca******@gmail.comwrites:

我听说可以禁用网页浏览器打印功能
I hear it is possible to disable the web browsers print function



你听错了。


sherm--


- <西弗吉尼亚州为西弗吉尼亚人提供的网络托管服务: http:// wv-www .net

Perl中的Cocoa编程: http:// camelbones .sourceforge.net


7月28日上午9:25,Sherm Pendley< spamt ... @ dot-app.orgwrote:
On Jul 28, 9:25 am, Sherm Pendley <spamt...@dot-app.orgwrote:

Cartoper< carto ... @ gmail.comwrites:
Cartoper <carto...@gmail.comwrites:

我听说可以禁用网络b rowsers打印功能
I hear it is possible to disable the web browsers print function



你听错了。


You heard wrong.



Bummer,我听到的,读得很好,确切地说是:


选择仅打印空白页选项将阻止访问者打印您的页面

。任何时候有人使用打印功能,

浏览器将拒绝打印(Internet Explorer 4.0或

更高)或只输出空白页面(Netscape Navigator 6.0)或者

更高,Opera 4.0或更高版本。


此功能适用于几乎所有支持CSS 2.0的浏览器。要知道没有给出任何警告,因此这种情况下的用户可能会怀疑打印机或有缺陷的软件是否有问题。


来源: http://www.aw-soft.com/htmlguard-security .html

Bummer, what I heard, well read, exactly is:

Selecting the "Print only blank pages" option will prevent visitors
from printing your pages. Any time someone uses the print function,
either the browser will refuse to print (Internet Explorer 4.0 or
higher) or only a blank page will be output (Netscape Navigator 6.0 or
higher and Opera 4.0 or higher).

This function works with almost every CSS 2.0-enabled browser. Be
aware that no warning is given, so users in this scenario may suspect
a faulty printer or defective software.

source: http://www.aw-soft.com/htmlguard-security.html


Cartoper写道:
Cartoper wrote:

source: http://www.aw-soft.com/htmlguard-security.html



啊哈。他们的软件基本上做的是在页面中添加一个打印

样式表,其中包含以下规则:


* {

显示:无;

}


这意味着任何打印的页面都不会显示任何内容。

当然,这会惹恼那些不知道怎么回事的人

这样愚蠢的事情。


-

Dylan Parry
http://electricfreedom.org | http://webpageworkshop.co.uk


上述观点不一定代表我的猫的b / b
。表达的所有观点完全属于您自己的观点。

Ah ha. What their software is essentially doing is adding a print
stylesheet to your page that contains the rule:

* {
display: none;
}

This means that nothing will be shown on any pages that are printed. Of
course, this is going to annoy people who don''t know how to get around
such silly things.

--
Dylan Parry
http://electricfreedom.org | http://webpageworkshop.co.uk

The opinions stated above are not necessarily representative of
those of my cats. All opinions expressed are entirely your own.


这篇关于取消激活浏览器的打印功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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