Skip to content

Commit aac27b7

Browse files
committed
Deleted comments ↞ [auto-sync from https://github.com/adamlui/youtube-classic]
1 parent 3f6fed5 commit aac27b7

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

youtube-classic/youtube-classic.user.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
// @name:zh-SG YouTube 经典
117117
// @name:zh-TW YouTube 經典
118118
// @name:zu YouTube Yakudala
119-
// @version 2026.7.26
119+
// @version 2026.7.26.1
120120
// @author Adam Lui, Magma_Craft
121121
// @namespace https://github.com/adamlui
122122
// @description Reverts YouTube to its classic design (before all the rounded corners & hidden dislikes) + redirects YouTube Shorts + blocks thumbnail/video ads
@@ -640,8 +640,6 @@
640640
method: 'GET', url: `${app.urls.update.gm}?t=${Date.now()}`,
641641
headers: { 'Cache-Control': 'no-cache' },
642642
onload: ({ responseText }) => {
643-
644-
// Compare versions, alert if update found
645643
app.latestVer = /@version +(.*)/.exec(responseText)?.[1]
646644
if (app.latestVer)
647645
for (let i = 0 ; i < 4 ; i++) { // loop thru subver's
@@ -652,8 +650,6 @@
652650
else if (currentSubVer < latestSubVer) // if outdated
653651
return modals.open('update', 'available')
654652
}
655-
656-
// Alert to no update found, nav back to About
657653
modals.open('update', 'unavailable') ; modals.open('about')
658654
}
659655
})

0 commit comments

Comments
 (0)