Skip to content

Instantly share code, notes, and snippets.

@xioxin
Created July 23, 2020 12:59
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xioxin/d8dbe82cbf762bb10652cdfd9fda3d93 to your computer and use it in GitHub Desktop.
Save xioxin/d8dbe82cbf762bb10652cdfd9fda3d93 to your computer and use it in GitHub Desktop.
eh阅读状态
// ==UserScript==
// @name eh阅读状态
// @namespace com.xioxin.EhTagReadStatus
// @version 0.1
// @description 利用css ":visited" 特性在标题前增加阅读状态指示
// @author xioxin
// @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;
}`);
@Mapaler
Copy link

Mapaler commented Aug 31, 2020

greasyfork可以添加样式,既可以用stylish装,也可以用tampermonkey装
写法目前我没找到文档,只能参考他们已有的 https://greasyfork.org/zh-CN/scripts?language=css

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment