Hacker News new | ask | show | jobs
by justincormack 4941 days ago
You used to be able to by reading back CSS styles of visited links. May be fixed now. http://blog.adrianroselli.com/2010/03/mozilla-to-modify-how-...
1 comments

It is fixed.

CSS may color visited links red, but they hacked getComputedStyle to return the normal color instead. So, you can't tell if that link to Amazon you just created is visited or not.

And you can no longer set, for example, font-weight:bold for visited links, because that would change the size of the element, and they decided, unlike in the color case, that it would be too complicated to get all the APIs to lie about the new geometry.

Is it fixed in all browsers?