Skip to content

Commit 62a916e

Browse files
committed
Update for new YouTube layout
Where the suggested videos are below the current video, and the comments are in the right column
1 parent 32f72c4 commit 62a916e

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

extension/contentScript.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,18 @@
1616

1717
const isWatchVideoPage = () => window.location.pathname == "/watch"
1818

19-
const fluff = ['#secondary-inner', '#info', '#meta', '#comments', '#masthead-container', '#speedyg']
19+
const fluff = [
20+
// Header
21+
'#masthead-container',
22+
23+
// Right column contents
24+
'#secondary-inner',
25+
'#fixed-secondary',
26+
27+
// Below video
28+
'#below',
29+
'#speedyg',
30+
]
2031

2132
const setFluffDisplay = (value) => {
2233
fluff.forEach(selector => {

0 commit comments

Comments
 (0)