Skip to content

Commit 47925c0

Browse files
committed
Deleted unused style routine ↞ [auto-sync from https://github.com/adamlui/youtube-classic]
1 parent 01e9448 commit 47925c0

1 file changed

Lines changed: 1 addition & 16 deletions

File tree

youtube-classic/youtube-classic.user.js

Lines changed: 1 addition & 16 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.20.6
3+
// @version 2026.1.20.7
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
@@ -1156,21 +1156,6 @@
11561156

11571157
getLoadedElem('head').then(() => document.head.append(fixesStyle))
11581158

1159-
;(() => {
1160-
const css = [
1161-
'[d*="M18 11C18 14.866 14.866 18 11 18C7.13401 18 4 14.866 4 11C4 7.13401 7.13401 4 11 4C14.866 4 18 7.13401 18 11ZM16.2961 16.9961C14.8853 18.2431 13.031 19 11 19C6.58172 19 3 15.4183 3 11C3 6.58172 6.58172 3 11 3C15.4183 3 19 6.58172 19 11C19 13.0274 18.2458 14.8786 17.0028 16.2885L20.5583 19.8441L20.9119 20.1976L20.2048 20.9047L19.8512 20.5512L16.2961 16.9961Z"] {',
1162-
'd: path("m20.87 20.17-5.59-5.59C16.35 13.35 17 11.75 17 10c0-3.87-3.13-7-7-7s-7 3.13-7 7 3.13 7 7 7c1.75 0 3.35-.65 4.58-1.71l5.59 5.59.7-.71zM10 16c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6z")',
1163-
'}',
1164-
'[d*="m12.71 12 8.15 8.15-.71.71L12 12.71l-8.15 8.15-.71-.71L11.29 12 3.15 3.85l.71-.71L12 11.29l8.15-8.15.71.71L12.71 12z"] {',
1165-
'd: path("M12.7,12l6.6,6.6l-0.7,0.7L12,12.7l-6.6,6.6l-0.7-0.7l6.6-6.6L4.6,5.4l0.7-0.7l6.6,6.6l6.6-6.6l0.7,0.7L12.7,12z")',
1166-
'}'
1167-
].join('\n')
1168-
const btnStyle = document.createElement('style') ; btnStyle.textContent = css
1169-
const heads = document.getElementsByTagName('head'),
1170-
btnStyleParent = heads.length ? heads[0] : document.documentElement
1171-
btnStyleParent.append(btnStyle)
1172-
})()
1173-
11741159
Object.defineProperties(document, {
11751160
'hidden': {value: false}, 'webkitHidden': {value: false}, 'visibilityState': {value: 'visible'},
11761161
'webkitVisibilityState': {value: 'visible'}

0 commit comments

Comments
 (0)