How long will a browser remember a “a:visited” link?

不羁岁月 提交于 2020-01-02 04:43:06

问题


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?


回答1:


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.




回答2:


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".




回答3:


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.



来源:https://stackoverflow.com/questions/2751805/how-long-will-a-browser-remember-a-avisited-link

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!