為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Print Option: temporarily no header/footer

  • 2 回覆
  • 4 有這個問題
  • 1 次檢視
  • 最近回覆由 borsuk

more options

Is there an Add-on that adds an option to temporarily disable printing of header/footer (as in Opera and Chrome by checking or unchecking the header/footer option)?

If you only sometimes want to print without header/footer you have to go through several steps to manually disable and later again to enable header/footer (Print > Page Setup: Margins & Header/Footer and set all fields to blank and later back to their previous values). Obviously, this is not really user friendly.

Is there an Add-on that adds an option to temporarily disable printing of header/footer (as in Opera and Chrome by checking or unchecking the header/footer option)? If you only sometimes want to print without header/footer you have to go through several steps to manually disable and later again to enable header/footer (Print > Page Setup: Margins & Header/Footer and set all fields to blank and later back to their previous values). Obviously, this is not really user friendly.

所有回覆 (2)

more options

That would require to have two sets of print prefs for each of the two situations and swap between them.
A possibility would be to do that with an extension like Custom Buttons or PrefBar that allows to create your own toolbar buttons.

more options

Thanks. I had a look at both of them. Both require you to code such a button yourself. I could not find any ready code sample that I could use (anyway I would not have the necessary knowledge to adapt the code). PrefBar offers preconfigured buttons but none solves my problem. The "Printing" button gives you just a quicker way to access Page Setup (instead of going via Firefox menu). You still have to manually disable and later again to enable header/footer. Even if you clone and rename the "Printing" button, your changes to header/footer always affect Page Setup of your clone and the original "Printing" button. Unfortunately, a solution is still pending.