搜尋 Mozilla 技術支援網站

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

了解更多

How to get Firefox to ignore link visitation status when printing?

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

more options

How to get Firefox to ignore link visitation status when printing?

When I print something, visited links are a different color than non-visited links. Is there a way to make them the same color when printing? (without changing history, or how things look on the screen)

If there isn't a way to do this, how about adding this in as a feature?

How to get Firefox to ignore link visitation status when printing? When I print something, visited links are a different color than non-visited links. Is there a way to make them the same color when printing? (without changing history, or how things look on the screen) If there isn't a way to do this, how about adding this in as a feature?

被選擇的解決方法

One way to do this would be to create custom style rules for printed output that hardcode the link colors for all print output. Firefox supports two ways to do this: a userContent.css file you create in your settings folder, and a user style applied using the Stylish extension.

However, "one size fits all" might lead to unreadable or unattractive results on some pages. So an add-on that can do it adaptively would be better. I don't know whether anyone has created one.

For sites that do not require a login and which are not personalized, you could launch the page in a private window (right-click the link > Open in New Private Window, or copy URL, then Ctrl+Shift+p, then paste to address bar and Enter). Because private windows have their own history, the printout should not reflect the history from your regular windows.

從原來的回覆中察看解決方案 👍 1

所有回覆 (2)

more options

選擇的解決方法

One way to do this would be to create custom style rules for printed output that hardcode the link colors for all print output. Firefox supports two ways to do this: a userContent.css file you create in your settings folder, and a user style applied using the Stylish extension.

However, "one size fits all" might lead to unreadable or unattractive results on some pages. So an add-on that can do it adaptively would be better. I don't know whether anyone has created one.

For sites that do not require a login and which are not personalized, you could launch the page in a private window (right-click the link > Open in New Private Window, or copy URL, then Ctrl+Shift+p, then paste to address bar and Enter). Because private windows have their own history, the printout should not reflect the history from your regular windows.

more options

You can also temporarily toggle the layout.css.visited_links_enabled pref to false to disable the visited link colors.

A possibility is to use the PrefBar extension and create a toolbar button to toggle this pref.