[Greasemonkey] Colour-coding of visited links

esquifit esquifit at googlemail.com
Wed Oct 4 04:04:08 PDT 2006


You can compare the computed style[1] of a link against one you are
sure it has not been visited, for example a hidden dummy link added by
your script.

[1] http://developer.mozilla.org/en/docs/DOM:window.getComputedStyle


2006/10/4, Edward Hibbert <Edward.Hibbert at dataconnection.com>:
> I have a script which colour-codes links.  This is interfering with the
> native colour-coding of a link based on whether you've visited it before
> - the native colour-coding is overwritten by mine.
>
> Is there any way for me to tell inside a script whether the link has
> been visited, so that I can modify my colour-coding accordingly?
> _______________________________________________
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
> http://mozdev.org/mailman/listinfo/greasemonkey
>


More information about the Greasemonkey mailing list