Loads many more follower channels.
// ==UserScript==
// @name Load more followed channels
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Loads many more follower channels.
// @author nmur
// @match https://www.twitch.tv/*
// ==/UserScript==
(function() {
window.addEventListener('load', function() {
clickSideBarExpandButton();
clickShowMoreButtonTwice();
}, false);
})();
function clickSideBarExpandButton() {
var sideBarExpandButton = document.getElementsByClassName("side-nav__toggle-visibility--open")[0];
if (sideBarExpandButton !== undefined) {
sideBarExpandButton.click();
}
}
function clickShowMoreButtonTwice() {
var showMoreButton = document.getElementsByClassName("side-nav-show-more-toggle__button")[0];
showMoreButton.click();
showMoreButton.click();
}