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

搜尋 Mozilla 技術支援網站

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

了解更多

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 於 修改