Third party JavaScript is not allowed to access this information, that's a known reality and I understand. But I'd expect a more trusted component (ie. extension or something like the Web Inspector) to be be able to get to this. Steps to reproduce: * Open a html document with links and styled :visited (ie. a { color: blue; } a:visited { color: purple; } ) * Visit the link * Inspect the link (which now looks purple, or red when you're pressing it) * Inspector should show cascading rule that a:visisted overrode the a for color-property What happends: * The :visited rule is nowhere to be found, as if the link is still blue (which it "thinks") Expected result: * The rule for :visisted overrode the other rule. and should be included in the styles sidebar.
While we are fixing your request, try clicking the http://trac.webkit.org/export/94269/trunk/Source/WebCore/inspector/front-end/Images/paneElementStateButtons.png button in the styles sidebar and forcing the :visited (or any other styles). That would give you a way to style the visited link.
In Chrome 16.0.912.36 (Official Build 109393) beta (WebKit r97678) I can see the :visited rule being active for visited links.
Thanks, this is good enough.