Changing ONLY visited link colors
-
- Posts: 21
- Joined: April 8th, 2016, 7:50 am
Changing ONLY visited link colors
Running v 57.0.4.
Several years ago, I wanted to change my visited link colors to a shade of orange, specifically #ff6600.
I created the userContent.css file and added this to it:
a:visited {color:#ff6600 !important;}
Been doing that ever since, and for most sites, it works.
Sites can apparently override this, however. EBay is one site that does this, so my visited links there appear to be purple. (It's a recent change; a week ago, they were showing up as orange.)
I can force the orange links by going to Tools > Options > Colors and changing my visited link color there to orange and telling it to "Override the colors specified by the page with your selections above" and selecting "Always."
If I do this, however, it changes the colors of the visited links, the unvisited links and all of the tables on the pages, resulting in a rather odd appearance that I'd rather not have.
Is there a way to force Firefox to ALWAYS change the visited link color but not to change anything else while doing so?
Several years ago, I wanted to change my visited link colors to a shade of orange, specifically #ff6600.
I created the userContent.css file and added this to it:
a:visited {color:#ff6600 !important;}
Been doing that ever since, and for most sites, it works.
Sites can apparently override this, however. EBay is one site that does this, so my visited links there appear to be purple. (It's a recent change; a week ago, they were showing up as orange.)
I can force the orange links by going to Tools > Options > Colors and changing my visited link color there to orange and telling it to "Override the colors specified by the page with your selections above" and selecting "Always."
If I do this, however, it changes the colors of the visited links, the unvisited links and all of the tables on the pages, resulting in a rather odd appearance that I'd rather not have.
Is there a way to force Firefox to ALWAYS change the visited link color but not to change anything else while doing so?
-
- Posts: 83
- Joined: July 21st, 2010, 10:17 am
Re: Changing ONLY visited link colors
Too bad they executed the NoSquint add-on. It handled this function beautifully.
-
- Posts: 21
- Joined: April 8th, 2016, 7:50 am
Re: Changing ONLY visited link colors
I tried using NoSquint Plus, but it doesn't work, as many reviewers have pointed out. Still, that seemed like a step in the right direction.
-
- Posts: 21
- Joined: April 8th, 2016, 7:50 am
Re: Changing ONLY visited link colors
There used to be an addon called "Visited" that did this, but it doesn't work in FF 57. There is a Greasemonkey script called "Visited Lite" that claims to work.
https://greasyfork.org/en/scripts/15173-visited-lite
I'm testing it now, though I've had issues running Greasemonkey in the past. For now, it seems to work.
https://greasyfork.org/en/scripts/15173-visited-lite
I'm testing it now, though I've had issues running Greasemonkey in the past. For now, it seems to work.
- Gingerbread Man
- Posts: 7735
- Joined: January 30th, 2007, 10:55 am
Re: Changing ONLY visited link colors
Link colors should be defined in L-V-H-A order. So define unvisited link color above that and check if it makes a difference:essmeier wrote:I created the userContent.css file and added this to it:
a:visited {color:#ff6600 !important;}
Code: Select all
a:link { color: blue !important; }
a:visited { color: #ff6600 !important; }
- BuddhaNature
- Posts: 537
- Joined: January 3rd, 2008, 9:44 am
- Location: Scotland
Re: Changing ONLY visited link colors
Could you say in words what L, V, H and A are? I've got:Gingerbread Man wrote:Link colors should be defined in L-V-H-A order.
L = link
V = visited
H = ?
A = ?
OS: Windows 10 Pro. x64
-
- Posts: 21
- Joined: April 8th, 2016, 7:50 am
Re: Changing ONLY visited link colors
It doesn't make a difference. Until about a week ago, it had been working just fine for about two years with just the single line of text.Link colors should be defined in L-V-H-A order. So define unvisited link color above that and check if it makes a difference:
The Greasemonkey script is working for now.
-
- Posts: 6421
- Joined: February 3rd, 2009, 6:29 pm
Re: Changing ONLY visited link colors
@BuddhaNature
When setting the style for several link states, there are some order rules:
a:hover must come after a:link and a:visited
a:active must come after a:hover
CSS Styling Links
http://www.w3schools.com/css/css_link.asp
http://www.w3schools.com/css/tryit.asp? ... background
When setting the style for several link states, there are some order rules:
a:hover must come after a:link and a:visited
a:active must come after a:hover
CSS Styling Links
http://www.w3schools.com/css/css_link.asp
http://www.w3schools.com/css/tryit.asp? ... background
- BuddhaNature
- Posts: 537
- Joined: January 3rd, 2008, 9:44 am
- Location: Scotland
Re: Changing ONLY visited link colors
Okay, morat. Many thanks for the link will read through it later.
@essmeier:
I'm using FF 57 too. And Gingerbread's code is working fine for me. Including on eBay UK. Maybe something else you've got configured on your system is making the code 'apparently' fail.
P.S. I didn't alter any other relevant setting in FF Options from the default. So what is happening on my system is down to Gingerbread's code.
@essmeier:
I'm using FF 57 too. And Gingerbread's code is working fine for me. Including on eBay UK. Maybe something else you've got configured on your system is making the code 'apparently' fail.
P.S. I didn't alter any other relevant setting in FF Options from the default. So what is happening on my system is down to Gingerbread's code.
OS: Windows 10 Pro. x64
-
- Posts: 4480
- Joined: March 19th, 2005, 10:51 am
Re: Changing ONLY visited link colors
L = link
V = visited
H = hover
A = active (mouse still pressed)
V = visited
H = hover
A = active (mouse still pressed)
- BuddhaNature
- Posts: 537
- Joined: January 3rd, 2008, 9:44 am
- Location: Scotland