ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 2 (ردّان اثنان)
  • 1 has this problem
  • 2 views
  • آخر ردّ كتبه 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.

Read this answer in context 👍 1

All Replies (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.