Skip to content

Commit 14e9b16

Browse files
committed
Edited whitespace for readability ↞ [auto-sync from https://github.com/adamlui/youtube-classic]
1 parent 0f62fea commit 14e9b16

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

youtube-classic/youtube-classic.user.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name YouTube™ Classic 📺 — (Remove rounded design + Return YouTube dislikes)
3-
// @version 2026.1.27.3
3+
// @version 2026.1.27.4
44
// @author Adam Lui, Magma_Craft, Fuim & hoothin
55
// @namespace https://github.com/adamlui
66
// @description Reverts YouTube to its classic design (before all the rounded corners & hidden dislikes) + redirects YouTube Shorts
@@ -1065,9 +1065,9 @@
10651065
if (app.config.adBlock) // remove ads
10661066
document.querySelector('ytd-ad-slot-renderer')?.closest('[rendered-from-rich-grid]')?.remove()
10671067
if (app.config.shortsBlock || app.config.playablesBlock) // remove shelves
1068-
document.querySelector(
1069-
`ytd-rich-section-renderer${ !app.config.shortsBlock ? ':not(:has(a[href*="/shorts/"]))' : '' }${
1070-
!app.config.playablesBlock ? ':not(:has(a[href*="/playables/"]))' : '' }`
1068+
document.querySelector(`ytd-rich-section-renderer${
1069+
!app.config.shortsBlock ? ':not(:has(a[href*="/shorts/"]))' : '' }${
1070+
!app.config.playablesBlock ? ':not(:has(a[href*="/playables/"]))' : '' }`
10711071
)?.remove()
10721072
}
10731073
})

0 commit comments

Comments
 (0)