custom link colours feature breaks website layouts
Moderator: trava90
Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
custom link colours feature breaks website layouts
Hi all
I have trouble distinguishing the two colours used for “Unvisited links” and for “Visited links”.
If I customise these two colours then select “Always” in “Override the colours specified by the page with my selection above” I see my custom colours but then the layout of most pages is screwed up.
Why is this?
Is there a way to ONLY modify the link colours and nothing else?
FYI: I am using Windows 10 and the Palemoon version 29.4.1
Thank you
Andy
I have trouble distinguishing the two colours used for “Unvisited links” and for “Visited links”.
If I customise these two colours then select “Always” in “Override the colours specified by the page with my selection above” I see my custom colours but then the layout of most pages is screwed up.
Why is this?
Is there a way to ONLY modify the link colours and nothing else?
FYI: I am using Windows 10 and the Palemoon version 29.4.1
Thank you
Andy
-
- Astronaut
- Posts: 654
- Joined: 2014-09-01, 15:11
- Location: Milan Italy
Re: custom link colours feature breaks website layouts
Do you have the problem on all sites or only on certain sites ?
In the latter case you can use the NoSquint addon to change the colours of visited and unvisited links for a specific site only (I did that for my institute site since when it was redesigned with a darkish theme)
In the latter case you can use the NoSquint addon to change the colours of visited and unvisited links for a specific site only (I did that for my institute site since when it was redesigned with a darkish theme)
The reasonable man adapts himself to the world: the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. (G.B. Shaw)
- athenian200
- Contributing developer
- Posts: 1498
- Joined: 2018-10-28, 19:56
- Location: Georgia
Re: custom link colours feature breaks website layouts
As far as I know, there currently isn't a way to do that.
The override sets the preference "browser.display.document_color_use", to either always override, never override, or only override high contrast themes. It seems to be an all-or-nothing setting.
The override sets the preference "browser.display.document_color_use", to either always override, never override, or only override high contrast themes. It seems to be an all-or-nothing setting.
"The Athenians, however, represent the unity of these opposites; in them, mind or spirit has emerged from the Theban subjectivity without losing itself in the Spartan objectivity of ethical life. With the Athenians, the rights of the State and of the individual found as perfect a union as was possible at all at the level of the Greek spirit." -- Hegel's philosophy of Mind
Re: custom link colours feature breaks website layouts
Websites normally style links and link colours. If those are unreadable then that is a design flaw and you should point it out to the webmaster.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: custom link colours feature breaks website layouts
I was curious that making 'unvisited links' and 'visited links' on a webpage more obvious to the user wasn't in the 'most useful' category of display functions for any browser?
And if not a built-in browser function... then surely there must be a raft of Addons, CCS scripts, or Greasemonkey scripts out there to do it?
AFAICS the answer is that there were all of these options... and they're still out there if you do online searches... but all old... and none work now. I tried an assortment to be sure and none worked for me.
andy08003 isn't the first person to want better 'unvisited link' and 'visited link' colours and/or visibility (or some other highlighting or marking method)...and to wonder why 'overriding page colours' in the browser settings breaks pages? You can find similar questions asked about all the available browsers... including chrome-based ones. Often that will be a consequence of the way the web page was designed... as here in this 2017 Q&A on Firefox's Mozilla Support site:
"Override the colors specified by the page with your selections above" Breaks images: https://support.mozilla.org/en-US/questions/1193062
Reason... because the 'override page colours function for visited links' (CSS :visited) was discovered to be a possible security leak path to extracting peoples' browser history... and thus this option was closed-off a long while ago in all browsers starting with Mozilla's changes to Firefox code.
This lengthy 'Mozilla Hacks' note from way back in 2010 may explain what happened... and contains several other links... all well above my paygrade in browser coding and engineering:
Privacy-related changes coming to CSS :visited... https://hacks.mozilla.org/2010/03/priva ... -vistited/
And if not a built-in browser function... then surely there must be a raft of Addons, CCS scripts, or Greasemonkey scripts out there to do it?
AFAICS the answer is that there were all of these options... and they're still out there if you do online searches... but all old... and none work now. I tried an assortment to be sure and none worked for me.
andy08003 isn't the first person to want better 'unvisited link' and 'visited link' colours and/or visibility (or some other highlighting or marking method)...and to wonder why 'overriding page colours' in the browser settings breaks pages? You can find similar questions asked about all the available browsers... including chrome-based ones. Often that will be a consequence of the way the web page was designed... as here in this 2017 Q&A on Firefox's Mozilla Support site:
"Override the colors specified by the page with your selections above" Breaks images: https://support.mozilla.org/en-US/questions/1193062
I think the answer is No. There isn't a way to ONLY modify the link colours and nothing else.andy08003 wrote:Why is this? Is there a way to ONLY modify the link colours and nothing else?
Reason... because the 'override page colours function for visited links' (CSS :visited) was discovered to be a possible security leak path to extracting peoples' browser history... and thus this option was closed-off a long while ago in all browsers starting with Mozilla's changes to Firefox code.
This lengthy 'Mozilla Hacks' note from way back in 2010 may explain what happened... and contains several other links... all well above my paygrade in browser coding and engineering:
Privacy-related changes coming to CSS :visited... https://hacks.mozilla.org/2010/03/priva ... -vistited/
Re: custom link colours feature breaks website layouts
Install Stylem from the add-ons site.
Use it to create a new stylesheet (you can decide to make it site-specific or try a global one) and put this CSS inside, changing the colors as you like (I picked "salmon" and "firebrick" randomly):
Works on my machine™, so if it doesn't work for you maybe check your settings.
Use it to create a new stylesheet (you can decide to make it site-specific or try a global one) and put this CSS inside, changing the colors as you like (I picked "salmon" and "firebrick" randomly):
Code: Select all
a:visited {
color: salmon !important;
}
a {
color: firebrick !important;
}
Re: custom link colours feature breaks website layouts
You could also change the setting for one or both in a userContent.css file. That is the way I did it.
Re: custom link colours feature breaks website layouts
Hi all
Thanks all - I appreciate all these high-quality answers.
This might be happening on all sites but it’s only really an issue on Google.
Good point about the design. As I see it, designers don’t have control over how each monitor displays colours or of course how each person sees so it's a conscious choice to provide accessible+pretty design for the majority rather than an accessible-for-all but less-pretty design (I'm thinking of Microsoft's garish High-Contrast scheme).
Just installed NoSquint - first impression is good - if it doesn't work I’ll give the other suggestions a try.
Andy
Thanks all - I appreciate all these high-quality answers.
This might be happening on all sites but it’s only really an issue on Google.
Good point about the design. As I see it, designers don’t have control over how each monitor displays colours or of course how each person sees so it's a conscious choice to provide accessible+pretty design for the majority rather than an accessible-for-all but less-pretty design (I'm thinking of Microsoft's garish High-Contrast scheme).
Just installed NoSquint - first impression is good - if it doesn't work I’ll give the other suggestions a try.
Andy