Link colors
-
- Posts: 801
- Joined: March 10th, 2012, 8:08 pm
Link colors
I have my link colors set [Tools|Settings] to blue for unvisited and green for visited, Yet some links are colored red. Why?
-
- Posts: 68
- Joined: June 8th, 2022, 3:10 am
Re: Link colors
It seems this option in Firefox always didn't work correctly. Try this styleOdin2 wrote:I have my link colors set [Tools|Settings] to blue for unvisited and green for visited, Yet some links are colored red. Why?
Code: Select all
/* userContent.css Firefox */
/* Highlighting visited and unvisited links */
:any-link:visited,
:any-link:not(#thumbnail).yt-simple-endpoint:visited * {
color: #00b294 !important; /* #00b294 - green; #ff4a4a - pale red; #ff00ae - magenta; */
}
/* Underlining links under the cursor */
:any-link:hover,
:any-link:not(#thumbnail).yt-simple-endpoint:hover * {
text-decoration: underline !important;
}
Or you can use this extension https://addons.mozilla.org/en-US/firefo ... k-enabler/
-
- Posts: 801
- Joined: March 10th, 2012, 8:08 pm
Re: Link colors
Thanks, lenny2. Actually, I'd forgotten that I do have the Visited Link Enabler add-on active--but I don't know how that changes link colors that I would otherwise see. Your answer in any case does not really address my question, which is why some links appear red.
-
- Posts: 6425
- Joined: February 3rd, 2009, 6:29 pm
Re: Link colors
Maybe a CSP problem.
Content Security Policy (CSP)
http://en.wikipedia.org/wiki/Content_Security_Policy
Maybe the site has its own link styles using the !important property.
There is a test page in the following thread.
browser.visited_color usage in about:config
http://forums.mozillazine.org/viewtopic ... &t=3083887
Preferences in colors dialog:
text - browser.display.foreground_color
background - browser.display.background_color
unvisited links - browser.anchor_color
visited links - browser.visited_color
use system colors - browser.display.use_system_colors
underline links - browser.underline_anchors
override the colors - browser.display.document_color_use
Content Security Policy (CSP)
http://en.wikipedia.org/wiki/Content_Security_Policy
Maybe the site has its own link styles using the !important property.
There is a test page in the following thread.
browser.visited_color usage in about:config
http://forums.mozillazine.org/viewtopic ... &t=3083887
Preferences in colors dialog:
text - browser.display.foreground_color
background - browser.display.background_color
unvisited links - browser.anchor_color
visited links - browser.visited_color
use system colors - browser.display.use_system_colors
underline links - browser.underline_anchors
override the colors - browser.display.document_color_use