Visited Link Color for Dynasty Scans

Mark those yuri doujins you've already read with lighter blue color!

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください。
  1. // ==UserScript==
  2. // @name Visited Link Color for Dynasty Scans
  3. // @version 0.2
  4. // @author warireku
  5. // @description Mark those yuri doujins you've already read with lighter blue color!
  6. // @include http://dynasty-scans.com/*
  7. // @include https://dynasty-scans.com/*
  8. // @license CC0; https://creativecommons.org/publicdomain/zero/1.0/legalcode
  9. // @namespace https://greasyfork.org/users/237709
  10. // ==/UserScript==
  11. function addGlobalStyle(css) {
  12. var head, style;
  13. head = document.getElementsByTagName('head')[0];
  14. if (!head) { return; }
  15. style = document.createElement('style');
  16. style.type = 'text/css';
  17. style.innerHTML = css;
  18. head.appendChild(style);
  19. }
  20. addGlobalStyle("#main a:visited:not(.label) {color:#006CCF !important;}");
  21. addGlobalStyle("#main a:visited .title {color:#004C99 !important;}");