Skip to content

Commit 81012ce

Browse files
committed
Split lines up for readability ↞ [auto-sync from https://github.com/adamlui/youtube-classic]
1 parent 2587bea commit 81012ce

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.17.28
3+
// @version 2026.1.17.29
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
@@ -290,8 +290,10 @@
290290
if (foundState) { // append styled state word
291291
const styledStateSpan = document.createElement('span')
292292
styledStateSpan.style.cssText = `color: ${
293-
foundState == toolbarMenu.state.words[0] ? '#ef4848 ; text-shadow: rgba(255,169,225,0.44) 2px 1px 5px'
294-
: '#5cef48 ; text-shadow: rgba(255,250,169,0.38) 2px 1px 5px' }`
293+
foundState == toolbarMenu.state.words[0] ?
294+
'#ef4848 ; text-shadow: rgba(255,169,225,0.44) 2px 1px 5px'
295+
: '#5cef48 ; text-shadow: rgba(255,250,169,0.38) 2px 1px 5px'
296+
}`
295297
styledStateSpan.append(foundState) ; notif.append(styledStateSpan)
296298
}
297299
}

0 commit comments

Comments
 (0)