NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript==
// @namespace https://openuserjs.org/users/Sanakazubi
// @name Expand Reddit Subscription Bar
// @description Expands the Reddit Top Subscription Bar to show All Subscribed Subs
// @copyright 2017, Sanakazubi (https://openuserjs.org/users/Sanakazubi)
// @license MIT
// @version 1.0.2
// @include https://*.reddit.com/*
// @grant none
// ==/UserScript==
// ==OpenUserJS==
// @author Sanakazubi
// ==/OpenUserJS==
var ec, e, cs;
e = document.getElementById("sr-header-area");
if (e !== null) {
e.style["white-space"] = "normal";
ec = document.getElementsByClassName("sr-list");
ec = document.getElementsByClassName("sr-list")[0].childNodes[2].childNodes;
for (var i = 0; i < ec.length; i++) {
ec[i].style["white-space"] = "normal";
}
var e2 = document.getElementsByClassName("sr-list")[0].childNodes[2];
e.style["height"] = (e2.offsetHeight + 10) + "px";
}
var fixprofile = function(){
var profile = document.getElementsByClassName("SubscriptionBar")[0]
profile.style["height"] = "auto";
profile.style["white-space"] = "normal";
}
setTimeout(fixprofile, 500);