admin管理员组

文章数量:1242805

How long will a browser remember a "a:visited" link? Assuming the method isn't uniform across browsers - an answer for any individual browser (or as many as you know) would be helpful.

Also, under which type of memory is it stored? "Web History"? Cache?

How long will a browser remember a "a:visited" link? Assuming the method isn't uniform across browsers - an answer for any individual browser (or as many as you know) would be helpful.

Also, under which type of memory is it stored? "Web History"? Cache?

Share Improve this question asked May 1, 2010 at 22:51 MatrymMatrym 17.1k35 gold badges99 silver badges141 bronze badges
Add a ment  | 

3 Answers 3

Reset to default 8

Visited links are part of your web history, and how long they're stored depends on each user's individual browser settings. I believe Firefox remembers unlimited history by default, but anyone can set a time limit on it, or have it be cleared every time they close their browser, etc.

Usually, it's :visited if the url is in the browser's history, this is pretty consistent across browsers. How long?...however long history is stored, which varies greatly depending on preferences. Also, if the user's in any sort of privacy mode, history is typically disabled, meaning no links are "visited".

Not sure about all browsers, but Firefox seems to show visited links in different color until I restart the browser; it shows these visited links in history tab, but they are the same color as visited on the page.

本文标签: javascriptHow long will a browser remember a quotavisitedquot linkStack Overflow