4 ms·
I rarely see websites that actually make use of `:visited` style as intended, it would be good if browsers had an option to just disable it and prevent this cla
by xPaw 5y ago
I rarely see websites that actually make use of `:visited` style as intended, it would be good if browsers had an option to just disable it and prevent this class of leaks completely.
- mmahemoff 5y agoThe only time I ever see a visited style link is when links aren't styled at all. It's anachronistic and the feature should probably be dropped altogether. If some users want to see it, it could be done with an extension that has history access (or a coarse-grained version of history). Then they'd be able to see it for all sites, not just the tiny fraction of sites that don't style links.
- shkkmo 5y agoThis is clearly not true as you are currently posting on a site that has styled links and also has lighter styled visited links.
- hackerfromthefu 5y agoCounterpoint, plenty of sites I use properly show visited links, and it's a very useful feature!
- mmahemoff 5y agoMaybe I don't notice it enough, but I suspect the vast majority of those are only doing it because they haven't changed the style. I find it useful too, but since most sites don't actually show it, I'd rather just use an extension that always shows it.
- isomel 5y agoWikipedia for example Edit: oh, and Hackernews, too
- ZeroGravitas 5y agoThe last sentence of the article claims you do have that option, but I can't find it? I can see an option to always overridde the color with my choice.
- varun_ch 5y agoLooks like Firefox has it in their advanced settings under "layout.css.visited_links_enabled", but on Chrome (or other Chromium based browsers) you have to clear history regularly, or use incognito mode.
- kevincox 5y agoThe site we are on right now uses visited links in a different style (although annoyingly subtle). I find this feature incredibly valuable. I would've be opposed to a feature to disable it but I certainly wouldn't use it. I can imagine that Tor may want to enable it by default though. Edit: Apparently Firefox has this feature and Tor does use it.
- hk__2 5y ago> I rarely see websites that actually make use of `:visited` style as intended Some well-known websites do it, such as Google and Wikipedia.
- chrismorgan 5y agoI like :visited. It’s useful. I don’t want browsers to disable it, but developers to stop clobbering and disabling it on their sites. Any site I make will have sane blue underlined links and purple underlined visited links. I’m willing to vary the shades of blue and purple, and I prefer to reduce the opacity of the underline when not interacting with the link, but I say general links should be blue and purple and underlined, and anything else is troublemaking. (In https://github.com/w3c/csswg-drafts/issues/3012 https://github.com/w3c/csswg-drafts/issues/3012, there’s talk of changing :visited to essentially work from the site’s perspective—exposing only history that the site could have tracked itself—rather than for the user as global visitedness does. This makes me sad, though I quite understand the perspective; to me, :visited has always been about the user, even though such first-party link following is its primary use.)
- gowld 5y agoThe think you like is client link styling, not :visited attribute manipulated via CSS/JS.
- magicalist 5y agoNot sure what you mean. Under that proposal :visited wouldn't be available for styling or scripting except for links the site could already know that you visited.