diff options
Added Invidious Instance Cleanup script
1 files changed, 32 insertions, 0 deletions
| -rw-r--r-- | invidious-instance-cleanup.js | 32 |
diff --git a/invidious-instance-cleanup.js b/invidious-instance-cleanup.js new file mode 100644 index 0000000..99da6ff --- /dev/null +++ b/invidious-instance-cleanup.js @@ -0,0 +1,32 @@ +// ==UserScript== +// @name Invidious Instance Cleanup +// @match *://inv.riverside.rocks/* +// @match *://yewtu.be/* +// @match *://vid.puffyan.us/* +// @run-at document-start +// ==/UserScript== + +var style = document.createElement('style') + +style.textContent = ` +body { + overflow-x: hidden; +} + +#player-container > div { + width: 80% !important; +} +#contents > .pure-g:nth-of-type(4) > .pure-u-lg-1-5:nth-of-type(3) { + margin-top: -57rem; + z-index: 1000; + position: relative; +} +none > #contents > .h-box:nth-child(2) { + display: none; +} +.playlist-restricted { + height: 47em !important; +} +` + +document.head.appendChild(style) |
