Visited Lite

Mark all visited links as custom color.

< Feedback on Visited Lite

Review: चांगली - स्क्रिप्ट चालते

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.

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.

उत्तर पोस्ट करा

उत्तर पोस्ट करण्यासाठी साइन इन करा.