// ==UserScript== // @name 【聊天室反引用刷屏】 // @version 0.2.3 // @description 在hackchat聊天室、十字街聊天室、XChat(圈聊)聊天室增大引用块宽度,防止markdown生成的blockquote标签大量堆叠后产生刷屏现象。存在副作用,会一定程度上破坏引用块的外观。 // @author firetree // @match https://crosst.chat/?* // @match https://hack.chat/?* // @match https://xq.kzw.ink/?* // @match *://tanchat.fun/?* // @icon none // @grant none // @license WTFPL // @namespace http://tampermonkey.net/ // @downloadURL none // ==/UserScript== (function() { 'use strict'; var style = document.createElement("style"); style.type = "text/css"; var text = document.createTextNode("blockquote {padding: 2px 2px;margin: 0px;}"); /* 这里编写css代码 */ style.appendChild(text); var head = document.getElementsByTagName("head")[0]; head.appendChild(style); })();