blob: 9c743b844fc071b8eedbeb5b1fc86a8e3f3a5bb2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
// ==UserScript==
// @name Invidious Instance Cleanup
// @description Updates some Invidious instance's stylings to be a bit nicer to use
//
// @version 1.0
// @license MIT
// @author Syndamia
//
// @source https://gitlab.com/Syndamia/userscripts/-/blob/main/invidious-instance-cleanup.js
// @supportURL https://gitlab.com/Syndamia/userscripts/-/issues
// @homepage https://gitlab.com/Syndamia/userscripts/
// @icon https://upload.wikimedia.org/wikipedia/commons/a/a0/Invidious-logo.svg
//
// @namespace Syndamia
// @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)
|