您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
equalised columns in mastodon
当前为
// ==UserScript== // @name equalise-o-don // @license DWTFYW // @namespace http://pureandapplied.com.au/resizodon // @version 0.1 // @description equalised columns in mastodon // @author You // @match https://*.social/* // @icon https://www.google.com/s2/favicons?sz=64&domain=aus.social // @grant none // ==/UserScript== (function() { function makeResizable () { let cols =[]; for (let a = 0; a < arguments.length; a++){ let divs = document.getElementsByClassName(arguments[a]); for (let d = 0; d < divs.length; d++){ cols.push(divs[d]); } } for(let i=0; i< cols.length; i++){ cols[i].style.flex = "1 1 auto"; resizeObserver.observe(cols[i]); } } const resizeObserver = new ResizeObserver((entries) => { for (const entry of entries) { if (entry.contentBoxSize) { setupResizing(); } } }) function setupResizing(){ makeResizable('drawer', 'column'); } setupResizing(); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址