General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
Un-Visited Links Color
Posted by: KMuser9999
Date: November 08, 2009 03:38AM

I found this for VISITED link color:

user_pref("browser.visited_color", "hex color here");

But what is the version for UN-visited links color?

Options: ReplyQuote
Re: Un-Visited Links Color
Posted by: JamesD
Date: November 08, 2009 12:02PM

I found this in configuration. http://kb.mozillazine.org/Browser.anchor_color

Options: ReplyQuote
Re: Un-Visited Links Color
Posted by: guenter
Date: November 08, 2009 02:38PM

Probably: & in case JamesD's info is only for XUL based brwosers:

Try with: General info and links / by siria:

http://kmeleonbrowser.org/forum/read.php?1,97446,97967#msg-97967

AFAIK HTML Tag = Normal link is unvisited =

a:link { color: #9B8C8D !Important; }

As opposed to this link, which has been visited already:
a:visited { color: #C0C0C0; }

or is active:
a:active { text-decoration: underline; color: #00ff40; }

p.s. Or any other colors. See siria's links for ways to code color.



Edited 1 time(s). Last edit at 11/08/2009 02:40PM by guenter.

Options: ReplyQuote
Re: Un-Visited Links Color
Posted by: siria
Date: November 08, 2009 03:09PM

Yep, that mozillazine is a real jewel to find all sorts of things, often look there too smiling smiley

But for marking links those settings only work as long as the page author hasn't defined anything himself, so those colors aren't forced, but that's what someone probably wishes if defining a color himself. Or so I suppose...
Am surprised that there is no setting yet in the preferences, always thought it was! Oops... Or am I overlooking it again in the jungle? ;-)

So for permanent setting must join Guenter, to use CSS. Add it in Edit/Configuration/User Defined Stylesheet (needs browser restart, sorry), or add it in the Ad-Blocking-Stylesheet, than it works on the fly but only if ad-blocking is switched on (In preferences or in Tools/Privacy).

Here's the rather complicated version from my some-day-to-come macro *blush*, not perfect of course, but should hopefully mark most links really FLASHY. Except linked images. Frankly it's too flashy for myself too grinning smiley, only use it in a temporary stylesheet on rare occasions, but just delete the parts you don't need (like probably yellow background-color and such ;-)

a , a *, * a, a:link, a:link * , * a:link {
color: blue !important; background-color: yellow !important ;
text-decoration: underline !important;
font-weight: bold !important ;
text-transform: inherit; }

a:visited, a:visited * , * a:visited {
color: mediumvioletred !important; background-color: yellow !important ;
text-decoration: underline !important;
font-weight: bold !important ; }

a:hover, a:focus, a:active , a:hover *, a:focus *, a:active *, * a:hover, * a:focus, * a:active {
color: white !important; background-color: red !important ;
font-weight: bold !important ; }



Edited 2 time(s). Last edit at 11/08/2009 03:15PM by siria.

Options: ReplyQuote
Re: Un-Visited Links Color
Posted by: KMuser9999
Date: November 08, 2009 11:02PM

That did it! This gave me the standard blue and red colors:

a:link { color: #0000FF !Important; }
a:visited { color: #FF0000 !Important; }
a:active { text-decoration: underline; color: #FF0000; }

Options: ReplyQuote
Re: Un-Visited Links Color
Posted by: desga2
Date: November 08, 2009 11:39PM

Also you can setting default values in prefs:
browser.anchor_color
browser.active_color
browser.visited_color

K-Meleon in Spanish

Options: ReplyQuote


K-Meleon forum is powered by Phorum.