您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Collapse or shrink tall messages
This is a script that hides or collapses (deleting them from the DOM) chat messages in the Gitter web application. Sometimes people will post messages that cloud the vision of the other users and it can get a bit annoying. This script has been tested on both Chrome with TamperMonkey and Firefox with GreaseMonkey.
[Ctrl + Alt + F]
Turns the big messages into a warning with a button to restore the message.
[Ctrl + Alt + G]
Obliterates the message from the DOM tree, making them unrecoverable.
[CMD/Control + Option (or Alt) + F]
Turns the big messages into a warning with a button to restore the message.
[CMD/Control + Option (or Alt) + G]
Obliterates the message from the DOM tree, making them unrecoverable.
The script has two constants as of now in the Javascript code: