您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Shrinks room list items in Element to fit more on the screen
// ==UserScript== // @name Element Compact room list // @namespace http://artificialworlds.net/ // @version 0.1 // @description Shrinks room list items in Element to fit more on the screen // @author Andy Balaam // @match https://app.element.io // @grant none // @license AGPL-3.0-or-later // ==/UserScript== (function() { 'use strict'; function addStyle(css) { const style = document.getElementById("GM_addStyleContainer") || (function() { const style = document.createElement('style'); style.type = 'text/css'; style.id = "GM_addStyleContainer"; document.head.appendChild(style); return style; })(); const sheet = style.sheet; sheet.insertRule(css, (sheet.rules || sheet.cssRules || []).length); } addStyle(` .mx_BaseAvatar_image { width: 16px !important; height: 16px !important; } `); addStyle(` .mx_RoomTile { padding: 2px; margin-bottom: 0px; height: 20px } `); addStyle(` .mx_RoomBreadcrumbs .mx_RoomBreadcrumbs_crumb { margin-right: 2px; } `); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址