Visited Lite

Mark all visited links as custom color.

< Commentaires sur Visited Lite

Avis: Bon - le script fonctionne correctement

§
Posté le: 2018-06-15

Change unvisited / non-visited link color

Is it possible to modify this script to also change the color of non-visited links? This can be done via settings or about:config (browser.anchor_color) but it doesn't apply unless "Override the colors specified by the page with your selections above:" is set to "Always," whereas this script works all the time, apparently by overriding that. And if it's set to always, it breaks a lot of stuff, so that's not an option.

7-elephantAuteur
§
Posté le: 2018-06-15
Édité le: 2018-06-15

You can modify this script at line 32 https://greasyfork.org/en/scripts/15173-visited-lite/code

const css_a_visited = " a:visited, a:visited * { color: %COLOR% !important; } "; to const css_a_visited = " a:visited, a:visited * { color: %COLOR% !important; } " + " a, a:active { color: red !important; } "; For example.

§
Posté le: 2018-06-16

Thanks! Unfortunately, it didn't work for what I was trying to accomplish (trying to find a way to prevent history scraping by methods like the one at http://lcamtuf.coredump.cx/yahh/ which use link css), but it does indeed change the color of those links, so it's still nice to have that ability.

Poster une réponse

Connectez-vous pour poster une réponse.