05-14-2025 07:18 AM
The default color for Visited Links is a faint purple. Years ago I changed the color to bright red. That lasted until the latest primary version 138. Now to change it requires going to Settings|General|Contrast Control|Custom, which unfortunately changes the rest of the display. Is there a way to change only the Visited Links color? Maybe by modifying the default? Or downgrading to 137? Mozilla should add an option to change the Link Colors without changing the Text and Background, as was available in earlier versions.
I have userChrome.css to make other modifications. It can change some colors but I haven't found a way to change the Visited Links color. Is there a way?
I have several computers. After I found this result by upgrading Firefox on one of them, I have not upgraded any of the others.
05-14-2025 02:46 PM
Try this in userChrome.css:
a:visited {
color: red !important;
}
06-02-2025 10:39 AM
It is not working everywhere. Many sites like google or chatgpt this is not working. Something is overriding the CSS script in google as I saw a flash red before turning visited link to purple in dark mode.
06-03-2025 04:25 PM
Unfortunately, user-generated CSS sometimes can't override site-generated CSS.
06-04-2025 01:07 AM
Hello
An error in the file name.
It's not userChrome.css, it's userContent.css.
06-04-2025 01:41 PM
Putting siffemcon's command into userContent.css worked for everything I tried except my usual click on DuckDuckGo. I found that DDG has its own command line parameter for that: kaa=ff0000. For more info about its parameters, see:
https://gist.github.com/blackrobot/b34a345f22f7fc63e2a08b456e560def
06-04-2025 02:38 PM
One of my most common errors is specifying userChrome instead of userContent 😕
For future reference, the official DDG parameters list is at https://duckduckgo.com/duckduckgo-help-pages/settings/params.
07-13-2025 10:34 AM - edited 07-13-2025 03:20 PM
Doesn't work for me with FF 140.0.4 on Linux, tried it even in an additional new profile.
userContent.css with line:
a:visited { color: #ffa617 !important; }
is located in /home/urmel/.mozilla/firefox/<profile-name>/chrome/userContent.css
I even followed the advice:
"It is necessary to go to about:config page and switch toolkit.legacyUserProfileCustomizations.stylesheets to true to have working userContent.css"
given here two months ago: https://superuser.com/questions/1895055/how-do-i-change-visited-link-color-under-firefoxs-latest-upd...
It doesn't work. The bloody visited links remain purple.
Why does Mozilla always have to mess things up that were working well before?
Update (14:53):
It turns out that the add-on Visited Link Enabler, which I previously needed on some sites, was blocking my userContent.css, while trying to enforce Mozilla's now broken or defunct custom 'browser.visited_color' setting in about:config.
After additionally installing Visited-Color-Picker to see if it might be a viable alternative and therefore disabling the aforementioned one, I suddenly had my custom colored visited links.
Based on my brief tests, it also now seems to work the other way around. Disabling the CSS by setting toolkit.legacyUserProfileCustomizations.stylesheets to false again and relying on Visited-Color-Picker for the time being, unless Mozilla screws things up yet again.
FF's ridiculous new Contrast Control causing the whole mess, at least in its current incarnation, is an unusable abomination and needs to disappear pronto or dramatically improve very fast, so that custom colored visited links set with the browser.visited_color setting are working again like they used to.
Update 2 (17:20):
Visited Link Color Changer V1.2 appears to be a fork of the visited-color-picker V1.2 add-on, enhanced by a Black- and a Whitelist option. Unfortunately, other than the older original, the fork has the same problem as Visited Link Enabler V0.3.1 - it too fails to change the default color of visited links.
06-04-2025 03:33 PM
Try this in userChrome.css it will work