File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
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 = / @ v e r s i o n + ( .* ) / . exec ( responseText ) ?. [ 1 ]
646644 if ( app . latestVer )
647645 for ( let i = 0 ; i < 4 ; i ++ ) { // loop thru subver's
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 } )
You can’t perform that action at this time.
0 commit comments