Summary Files Commits Branches @commit @diff @stats
path: root / invidious-instance-cleanup.js
blob: 99da6ffced091e8ffede0c12a64cde00deed89b7 (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
// ==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)