Skip to content

Commit 69a9c71

Browse files
committed
Moved settings into window
1 parent f9f4973 commit 69a9c71

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

youtube-classic/youtube-classic.user.js

Lines changed: 4 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.15
3+
// @version 2026.1.21.16
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,6 +33,7 @@
3333
(() => {
3434
'use strict'
3535

36+
// Init DATA
3637
window.env = {
3738
scriptManager: {
3839
name: (() => { try { return GM_info.scriptHandler } catch (err) { return 'unknown' }})(),
@@ -47,7 +48,8 @@
4748
&& parseInt(env.scriptManager.version.split('.')[0]) >= 5
4849
window.app = { symbol: '📺', configKeyPrefix: 'ytClassic', config: {} }
4950

50-
const settings = {
51+
// Init SETTINGS
52+
window.settings = {
5153

5254
controls: { // displays top-to-bottom in toolbar menu
5355
disableShorts: {

0 commit comments

Comments
 (0)