Greasy Fork is available in English.
在贴吧楼中楼回复者中标识出楼主,效果类似手机版
当前为
// ==UserScript==
// @name Tieba百度贴吧楼中楼的楼主标识
// @namespace http://nickdoth.cc/
// @version 0.1.4
// @description 在贴吧楼中楼回复者中标识出楼主,效果类似手机版
// @compatible chrome
// @compatible firefox
// @compatible safari
// @compatible edge
// @license MIT
// @author nickdoth
// @match http://tieba.baidu.com/p/*
// @match https://tieba.baidu.com/p/*
// @grant unsafeWindow
// ==/UserScript==
(function() {
'use strict';
// Sheet
var styleEl = unsafeWindow.document.createElement('style');
unsafeWindow.document.head.appendChild(styleEl);
var sheet = styleEl.sheet;
sheet.insertRule(`a.at.j_user_card[username="${unsafeWindow.PageData.thread.author}"]:after {
content: "楼主";
background: #17a;
color: #fff;
border: 1px #fff solid;
border-radius: 5px;
padding: 2px 4px;
}`, 0);
})();