Skip to content

Commit f9f4973

Browse files
committed
Moved app init below env
1 parent 985fe21 commit f9f4973

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

youtube-classic/youtube-classic.user.js

Lines changed: 3 additions & 2 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.14
3+
// @version 2026.1.21.15
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
@@ -33,7 +33,6 @@
3333
(() => {
3434
'use strict'
3535

36-
window.app = { symbol: '📺', configKeyPrefix: 'ytClassic', config: {} }
3736
window.env = {
3837
scriptManager: {
3938
name: (() => { try { return GM_info.scriptHandler } catch (err) { return 'unknown' }})(),
@@ -46,6 +45,8 @@
4645
}
4746
env.scriptManager.supportsTooltips = env.scriptManager.name == 'Tampermonkey'
4847
&& parseInt(env.scriptManager.version.split('.')[0]) >= 5
48+
window.app = { symbol: '📺', configKeyPrefix: 'ytClassic', config: {} }
49+
4950
const settings = {
5051

5152
controls: { // displays top-to-bottom in toolbar menu

0 commit comments

Comments
 (0)