PDF.js中的moznomarginboxes属性是做什么的?

use*_*118 0 printing firefox margins printing-web-page pdf.js

Firefox的内置PDF查看器PDF.jsmoznomarginboxes<html>标签上有一个属性.这个属性有什么作用?

注意:有关PDF.js中HTML标记的其他属性的信息,请参阅PDF.js 中的mozdisallowselectionprint属性有何作用?.

use*_*118 5

mozNoMarginBoxes属性在Firefox 22版本之后可用.它被添加到Firefox中以允许网页阻止Firefox在打印文档时将URL,页码和其他内容添加到页边距.

这是没有mozNoMarginBoxes以下内容的文档的打印预览:

不使用<code>mozNoMarginBoxes</code></a>的打印预览,<a rel=其中包含:

使用<code> mozNoMarginBoxes </ code>打印文档预览

请注意,最初,在查看打印预览时,网页属性仍显示在页边距中.这在Firefox 29中得到修复.