On Sun, 16 Jun 2013 21:43:34 -0400 Ed Mullen <[email protected]> wrote:
> »Q« wrote: > > On Wed, 12 Jun 2013 12:13:02 -0400 > > Ed Mullen <[email protected]> wrote: > > > >> Ed Mullen wrote: > >>> Lemuel Johnson wrote: > >>>> Ed Mullen wrote: > >>>>> Beauregard T. Shagnasty wrote: > >>>>>> Ed Mullen wrote: > >>>>>> > >>>>>>> It's always bugged me that Google chose virtually identical > >>>>>>> colors for unvisited and visited links on the results pages. I > >>>>>>> tried the following > >>>>>>> in userContent.css > >>>>>>> > >>>>>>> /* set visited link color on Google */ @-moz-document > >>>>>>> domain(google.com) > >>>>>>> *|*:visited:visited { > >>>>>>> color:#f99 !important; > >>>>>>> } > >>>>>>> > >>>>>>> It doesn't seem to work. I tried perusing Google's css but it > >>>>>>> is an unbelievable mess to look at. Any ideas? > >>>>>> > >>>>>> You mean the Google search pages? Place the following rule at > >>>>>> the end of > >>>>>> your userContent.css file: > >>>>>> > >>>>>> /* set visited link color on Google, and everywhere else too */ > >>>>>> a:visited { color:#800080 !important; } > >>>>>> > >>>>>> Works for me in both SM and Firefox. > >>>>>> > >>>>>> You are right about Google code being a mess. Always was. > >>>>>> > >>>>> > >>>>> I'll try that but, honestly, I've been at this issue for years > >>>>> and haven't found one that works. But I'll try this. Thanks. > >>>>> > >>>> This works for me: > >>>> @-moz-document domain(google.com) { > >>>> .l:visited { > >>>> color: #f00 !important; > >>>> } > >>>> } > >>> > >>> Thanks! To both BTS and Lemuel. > >> > >> Sorry for re-opening an old thread. > >> > >> The above code worked fine for some time but it no longer does. > >> I'm back to Google's stupid purple for visited links. > >> > >> Is that style still working for anyone else? > > > > Just using a:visited as the selector works for me, and should make > > it more robust, i.e., less likely to break as Google changes things > > down the road. > > Does this CSS statement accept wildcards? e.g., if I wanted all > sites' visited links to dislay this way. Not wildcards, but you can use regular expressions. @-moz-document regexp("expression") { [CSS rules] } But if you want a style to apply to *all* sites, don't use @-moz-document -- just the css rules. > BTW, it's working again. Damn Google! Boy, I do love to hate them. I've switched to DuckDuckGo for general web searches. You might love hating them just as much. ;) _______________________________________________ support-seamonkey mailing list [email protected] https://lists.mozilla.org/listinfo/support-seamonkey

