Visited Lite

Mark all visited links as custom color.

< Відгуки до Visited Lite

Відгук: Добре - скрипт працює добре

§
Опубліковано: 15.06.2018

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-elephantАвтор
§
Опубліковано: 15.06.2018
Edited: 15.06.2018

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.

§
Опубліковано: 16.06.2018

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.

Опублікувати відповідь

Sign in to post a reply.