resize-o-don

resizeable columns in mastodon

当前为 2022-11-02 提交的版本,查看 最新版本

// ==UserScript==
// @name         resize-o-don
// @license      DWTFYW
// @namespace    http://pureandapplied.com.au/resizodon
// @version      0.1
// @description  resizeable columns in mastodon
// @author       You
// @match        https://*.social/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=aus.social
// @grant        none
// ==/UserScript==

(function() {
    let cols = document.getElementsByClassName("column");
    for(let i=0; i< cols.length; i++){
        cols[i].style.resize = "horizontal";
        cols[i].style.flex = "1 1 auto";
    }
    let drw = document.getElementsByClassName("drawer");
    for(let i=0; i< cols.length; i++){
        drw[i].style.resize = "horizontal";
        drw[i].style.flex = "1 1 auto";

    }
})();