eh阅读状态

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

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         eh阅读状态
// @namespace    com.xioxin.EhTagReadStatus
// @version      0.1
// @description  利用css ":visited" 特性在标题前增加阅读状态指示
// @author       xioxin
// @homepage     https://github.com/EhTagTranslation/UserScripts
// @supportURL   https://github.com/EhTagTranslation/UserScripts/issues
// @include     *://exhentai.org/*
// @include     *://e-hentai.org/*
// @grant    GM_addStyle
// ==/UserScript==

GM_addStyle(`
.itg a .glink::before {
    content: "●";
    color: #1a9317;
    padding-right: 4px;
}
.itg a:visited .glink::before {
    color: #aaa;
}`);