为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How do I keep the visited hyperlinks from changing color?

  • 6 个回答
  • 2 人有此问题
  • 14 次查看
  • 最后回复者为 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

所有回复 (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.

由raven0于修改