您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
为tanchat客户端加入hack.chat有但是一些衍生客户端没有的overflow-wrap CSS,以使难以分词的西文消息正确自动换行
/* ==UserStyle== @name 【tanchat文本自动换行优化(用户样式版)】 @namespace http://tampermonkey.net/ @version 0.1 @description 为tanchat客户端加入hack.chat有但是一些衍生客户端没有的overflow-wrap CSS,以使难以分词的西文消息正确自动换行 @author firetree @license WTFPL ==/UserStyle== */ @-moz-document regexp(".+:\/\/tanchat.fun\/\?.*") { .message .text { overflow-wrap: break-word; /*Note: In contrast to word-break, overflow-wrap (word-wrap is now an alias of overflow-wrap) will only create a break if an entire word cannot be placed on its own line without overflowing. https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-wrap I think this is a proper solution of too long messages without any spaces which may overflow the paragraph, though i dont know how official hack.chat client does the same thing.*/ } }
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址