Created
April 14, 2017 05:26
-
-
Save tateisu/ce06b1e07ff3d754d656775033210327 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name mstdn.jp column extender | |
// @namespace none | |
// @version 0.1 | |
// @description expand your mstdn.jp TL column width | |
// @author nanasi | |
// @include https://mastodon.social/web/* | |
// @include https://mstdn.jp/web/* | |
// @include https://mastodon.juggler.jp/web/* | |
// @include https://sns.gdgd.jp.net/web/* | |
// @include https://mastodon.cloud/web/* | |
// @include https://mastodon.motcha.tech/web/* | |
// @grant none | |
// ==/UserScript== | |
(function () { | |
'use strict'; | |
var iid = setInterval(function () { | |
var columns = document.querySelectorAll('div.column'); | |
if (!columns || !columns.length) return; | |
if (columns.length == 3) { | |
columns[columns.length - 1].style.flex = 'auto'; | |
} | |
}, 1000); | |
}) (); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment