Greasy Fork is available in English.

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.

返信を投稿

返信を投稿するにはログインしてください。