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.5.19.5
119+ // @version 2026.5.19.6
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 ads
616616 if ( ! key && ! keys ) return console . error ( 'Option \'key\' or \'keys\' required by styles.update()' )
617617 ; [ ] . concat ( keys || key ) . forEach ( key => {
618618 const style = this [ key ] ; style . node ||= dom . create . style ( )
619- if ( ( append ?? style . autoAppend ) && ! style . node . isConnected ) document . head . append ( style . node )
620619 style . node . textContent = style . css
620+ if ( ( append ?? style . autoAppend ) && ! style . node . isConnected ) document . head . append ( style . node )
621621 } )
622622 } ,
623623
You can’t perform that action at this time.
0 commit comments