Visited Lite

Mark all visited links as custom color.

< 腳本Visited Lite的回應

評論:正評 - 腳本一切正常

§
發表於: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-elephant作者
§
發表於:2018-06-15
編輯: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.

§
發表於: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.

發表回覆

登入以回復