Greasy Fork

Greasy Fork is available in English.

StackExchange obvious followed link color

Change the color of followed links on all StackExchange sites so they they are easily distinguishable.

目前为 2017-07-27 提交的版本,查看 最新版本

// ==UserScript==
// @name StackExchange obvious followed link color
// @namespace http://ostermiller.org/
// @version 1.01
// @description Change the color of followed links on all StackExchange sites so they they are easily distinguishable.
// @include /https?\:\/\/([a-z\.]*\.)?stackexchange\.com\/.*/
// @include /https?\:\/\/([a-z\.]*\.)?askubuntu\.com\/.*/
// @include /https?\:\/\/([a-z\.]*\.)?superuser\.com\/.*/
// @include /https?\:\/\/([a-z\.]*\.)?serverfault\.com\/.*/
// @include /https?\:\/\/([a-z\.]*\.)?stackoverflow\.com\/.*/
// @include /https?\:\/\/([a-z\.]*\.)?answers.onstartups\.com\/.*/
// @grant none
// ==/UserScript==

function addCss(cssString) {
    var newCss = document.createElement('style');
    newCss.type = "text/css";
    newCss.innerHTML = cssString;
    document.getElementsByTagName('head')[0].appendChild(newCss);
}

addCss (
    '.question-hyperlink:visited, .result-link a:visited {color: #9C7816 ! important;}'
);