LAST.FM Color Visited Links

LAST.FM Color Visited Links with grey

As of 2017-04-03. See the latest version.

// ==UserScript==
// @name           LAST.FM Color Visited Links
// @namespace      https://github.com/Row/lastfm-userscripts
// @description    LAST.FM Color Visited Links with grey
// @include        https://www.last.fm*
// @include        https://www.lastfm.*
// @include        https://cn.last.fm*
// @version 0.0.1.20170403043403
// ==/UserScript==

function addStyle(css) {
    var head, style;
    head = document.getElementsByTagName('head')[0];
    if (!head) { return; }
    style = document.createElement('style');
    style.type = 'text/css';
    try {
        style.innerHTML = css;
    } catch(err) {
        style.innerText = css;
    }
    head.appendChild(style);
}

addStyle('#content a:visited {color: #7b7b7b !important}');