RoyStream Helper

The RoyStream Helper

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name        RoyStream Helper
// @version     5
// @match       *://*.roystream.com/*
// @description The RoyStream Helper
// @icon        https://www.google.com/s2/favicons?sz=64&domain=roystream.com
// @supportURL  https://github.com/jerryc05/MyUserscripts
// @author      jerryc05
// @namespace   https://github.com/jerryc05
// ==/UserScript==


new MutationObserver((_, o) => {
  const l = document.querySelectorAll('[class^="list-unstyled ps-3 list-children collapse"]')
  for (const x of l)
    $(x).collapse("show")
  if (l) o.disconnect()
}).observe(document.getElementById('app-sidebar'), { childList: true, subtree: true })

const s = document.createElement('style')
s.textContent=`
#app-content>div>div>div:first-child{width:100%}
.row>[class*="d-flex"]:first-child{overflow:hidden}
#app-content>div>div>div.col-md-4{display:none}
`
document.head.append(s);