본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Inconsistant recognition of visited links

  • 5 답장
  • 3 이 문제를 만남
  • 9 보기
  • 최종 답변자: pbarber

more options

I often create file based websites for my own use. These are simple html files and supporting documents. They are never served via a web server, but simply used by opening the file on the same computer that the browser is running on.

I have noticed on my last project that when I click on a link that is a local .pdf file, the link does not appear as visited. However, if I click on a link that is a .gif file, the link will appear as visited. I'm doing this on a Mac and the browser is configured to use Preview for pdf viewing, however the browser renders the .gif files itself. I'm wondering if this is the reason, but would like to resolve this if possible.

Preferences are configured to "Remember my browsing and download history", but also to "Clear history when Firefox closes" so I would think that visited links would register until Firefox is restarted.

I often create file based websites for my own use. These are simple html files and supporting documents. They are never served via a web server, but simply used by opening the file on the same computer that the browser is running on. I have noticed on my last project that when I click on a link that is a local .pdf file, the link does not appear as visited. However, if I click on a link that is a .gif file, the link will appear as visited. I'm doing this on a Mac and the browser is configured to use Preview for pdf viewing, however the browser renders the .gif files itself. I'm wondering if this is the reason, but would like to resolve this if possible. Preferences are configured to "Remember my browsing and download history", but also to "Clear history when Firefox closes" so I would think that visited links would register until Firefox is restarted.

모든 댓글 (5)

more options

Thank you for your question.

As far as I understand this preference is set in about:config and

  • "Edit → Preferences → Appearance → Colors / Link Colors → Unvisited Links"
  • "Tools → Options → Privacy → History → Remember visited pages for the last ___ days [browser. history_expire_days]
  • browser. visited_color is the color

The last issue I saw on this was really really old https://bugzilla.mozilla.org/show_bug.cgi?id=271178 and the preferences above are the only ones that have an affect on the visited urls.

The easiest way to tell is to create a new profile and try the .pdf url in the new profile. Profile Manager - Create, remove or switch Firefox profiles

Let us know how it goes, or we can file a bug.

more options

Does this also happen if you use the built-in PDF Viewer instead of the Preview application?

See also:

more options

Thanks for your responses.

Regarding the first, the creation of a new profile does resolve the problem.

I don't seem to have the menu options that you delineate. That is, there is no "Preferences" options under the "Edit" menu, and no "Options" under the "Tools" menu, so I can't speak to those.

When I use about:config, I do find the "browser.visited_color is the color #551A8B" but I'm fairly certain that this is being over-ridden by my internal style sheet. When the links are recognized as visited, they are the color I have chosen them to be.

Also under about:config, I have no "browser.history_expire_days" listed, but rather have "browser.history_expire_days.mirror" and it is "user set, integer, 180"

Finally, using the built-in PDF Viewer instead of Preview does cause the links to be recognized as visited.

more options

On Mac you find the Preferences under the Firefox menu: Firefox > Preferences (Edit > Preferences is for Linux and Firefox/Tools > Options for Windows).

I assume that Firefox doesn't consider links that are opened in an external application as visited or at least treats them differently. If you use the built-in PDF Viewer then this link is actually opened in a browser tab and thus appears as a visited item. You will probably also see them as visited if you save the file to the hard drive (Save Link As).

more options

Yes, I checked the preferences, but there were no options with the specific titles you gave. I indicated what I thought were the relevant preference settings in my OP.

Using the "Save Link As" option is pointless in my case.

To me this is a bug in the sense that if only those links actually rendered by FF are indicated "visited" then there is a whole world of file types that can not be visited.

Anyway thanks again.