Skip to content

Commit 349af74

Browse files
committed
Split lines up ↞ [auto-sync from https://github.com/adamlui/youtube-classic]
1 parent 6684181 commit 349af74

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

youtube-classic/youtube-classic.user.js

Lines changed: 5 additions & 3 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.21.2
3+
// @version 2026.1.21.3
44
// @author Adam Lui, Magma_Craft, Anarios, JRWR, 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
@@ -38,8 +38,10 @@
3838
name: (() => { try { return GM_info.scriptHandler } catch (err) { return 'unknown' }})(),
3939
version: (() => { try { return GM_info.version } catch (err) { return 'unknown' }})()
4040
},
41-
ui: { scheme: document.documentElement.hasAttribute('dark')
42-
|| window.matchMedia?.('(prefers-color-scheme: dark)')?.matches ? 'dark' : 'light' }
41+
ui: {
42+
scheme: document.documentElement.hasAttribute('dark')
43+
|| window.matchMedia?.('(prefers-color-scheme: dark)')?.matches ? 'dark' : 'light'
44+
}
4345
}
4446
env.scriptManager.supportsTooltips = env.scriptManager.name == 'Tampermonkey'
4547
&& parseInt(env.scriptManager.version.split('.')[0]) >= 5

0 commit comments

Comments
 (0)