eh阅读状态

利用css ":visited" 特性在标题前增加阅读状态指示

  1. // ==UserScript==
  2. // @name eh阅读状态
  3. // @namespace com.xioxin.EhTagReadStatus
  4. // @version 0.1
  5. // @description 利用css ":visited" 特性在标题前增加阅读状态指示
  6. // @author xioxin
  7. // @homepage https://github.com/EhTagTranslation/UserScripts
  8. // @supportURL https://github.com/EhTagTranslation/UserScripts/issues
  9. // @include *://exhentai.org/*
  10. // @include *://e-hentai.org/*
  11. // @grant GM_addStyle
  12. // ==/UserScript==
  13.  
  14. GM_addStyle(`
  15. .itg a .glink::before {
  16. content: "●";
  17. color: #1a9317;
  18. padding-right: 4px;
  19. }
  20. .itg a:visited .glink::before {
  21. color: #aaa;
  22. }`);