This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

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 do I keep the visited hyperlinks from changing color?

  • 6 replies
  • 2 have this problem
  • 1 view
  • Last reply by raven0

more options

I am looking to keep the colors of visited sites, the same as unvisited chosen by the hosting site. For example; when I visit eBay, their hyperlink colors are different depending on location. They are black in the far left, and do not change color when visited. However, the hyperlinks in the center are blue, then change to purple after they are visited. I would like for the hosting site to use their own colors, but not differentiate from the unvisited links to the visited ones.

 I know I can change the color of the visited links to be the same as the non-visited links(FF>Options>Content>Colors>"change"Link Colors), but this is not what I am trying to achieve.  When I do that, ALL links are my chosen color, even the links on the far left on the eBay page.  Any help would be appreciated.  Thank you
I am looking to keep the colors of visited sites, the same as unvisited chosen by the hosting site. For example; when I visit eBay, their hyperlink colors are different depending on location. They are black in the far left, and do not change color when visited. However, the hyperlinks in the center are blue, then change to purple after they are visited. I would like for the hosting site to use their own colors, but not differentiate from the unvisited links to the visited ones. I know I can change the color of the visited links to be the same as the non-visited links(FF>Options>Content>Colors>"change"Link Colors), but this is not what I am trying to achieve. When I do that, ALL links are my chosen color, even the links on the far left on the eBay page. Any help would be appreciated. Thank you

All Replies (6)

more options

You can make a userchrome.css file in the profile folder with the following.

a:visited {

  color:blue

}

For using the userchrome.css file, see http://kb.mozillazine.org/UserChrome.css

more options

You can set the layout.css.visited_links_enabled pref to false on the about:config page to disable the visited link color.

more options

I have the opposite problem, kinda. When I click on a hyperlink the color does not change. How do I get that to happen? I am using Windows XP on a desktop/laptop. It used to do this a while back, but something happened to change it all, so nothing happens. Looking for a car on Craig's List and coming back to the looong list after viewing a car, I don't know which ones I have already looked at.

more options

Hi raven0, I'm not seeing this issue on Craigslist, although we're probably in different cities.

Does this occur on other sites as well, such as search engine results? If so, it could indicate that Firefox isn't saving history for those page loads. You could check the Library dialog and see whether the individual pages are listed. Either:

  • Ctrl+Shift+h
  • History > Show All History

If there's no history for those page loads, is it possible that the pages are being opened in private windows, or that history has become disabled in some other way?

more options

I think that Craig's List is opening the pages in a (i)frame and in such a case you do not get the visited status for links. You would have to right-click the link and open in a new tab or middle-click the link.

more options

Such quick response, and it fixed my self created problem. Thank you both for being here on a Sunday afternoon to help out.

Modified by raven0