Skip to content

Instantly share code, notes, and snippets.

@tateisu
Created April 14, 2017 05:26
Show Gist options
  • Save tateisu/ce06b1e07ff3d754d656775033210327 to your computer and use it in GitHub Desktop.
Save tateisu/ce06b1e07ff3d754d656775033210327 to your computer and use it in GitHub Desktop.
// ==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