News for hackers. Stuff that matters.
Re:Show HN: A chrome extension that fades out old links on H... by Nic0 on Thursday August 16, 2018 @05:56AM (#17773293)
I added a script on greasemonkey for HN visited linked with : I dont remember where did I get that code, but it work for me.

    // ==UserScript==
    // @name     HN visited link
    // @version  1
    // @grant    all
    // ==/UserScript==
    
    let aCss = `
        .news-list a:visited {
    			color: lightgray;
        }
    `
    
    addGlobalStyle(aCss);
    function addGlobalStyle(css) {
        var head, style;
        head = document.getElementsByTagName('head')[0];
        if (!head) { return; }
        style = document.createElement('style');
        style.type = 'text/css';
        style.innerHTML = css;
        head.appendChild(style);
    }

There are no comments on this comment yet.