Skip to content

Commit 01a8e9e

Browse files
committed
Edited line breaks for readability ↞ [auto-sync from https://github.com/adamlui/youtube-classic]
1 parent 78295d6 commit 01a8e9e

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

youtube-classic/youtube-classic.user.js

Lines changed: 7 additions & 5 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.38
3+
// @version 2026.1.17.39
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
@@ -1204,11 +1204,13 @@
12041204
btnStyleParent.append(btnStyle)
12051205
})()
12061206

1207-
Object.defineProperties(document, { 'hidden': {value: false}, 'webkitHidden': {value: false}, 'visibilityState': {value: 'visible'}, 'webkitVisibilityState': {value: 'visible'} })
1207+
Object.defineProperties(document, {
1208+
'hidden': {value: false}, 'webkitHidden': {value: false}, 'visibilityState': {value: 'visible'},
1209+
'webkitVisibilityState': {value: 'visible'}
1210+
})
12081211

1209-
setInterval(function(){
1210-
document.dispatchEvent( new KeyboardEvent( 'keyup', { bubbles: true, cancelable: true, keyCode: 143, which: 143 } ) )
1211-
}, 60000)
1212+
setInterval(() => document.dispatchEvent(new KeyboardEvent('keyup', {
1213+
bubbles: true, cancelable: true, keyCode: 143, which: 143 })), 60000)
12121214

12131215
const extConfig = {
12141216
// BEGIN USER OPTIONS

0 commit comments

Comments
 (0)