File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11// ==UserScript==
22// @name YouTube™ Classic 📺 — (Remove rounded design + Return YouTube dislikes)
3- // @version 2026.1.27.5
3+ // @version 2026.1.27.6
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
10741074 dom . get . loadedElem ( 'ytd-subscribe-button-renderer button' ) . then ( subBtn => {
10751075 requestAnimationFrame ( updateSubBtnPos )
10761076 new MutationObserver ( updateSubBtnPos ) . observe ( subBtn , { childList : true , subtree : true } )
1077- window . addEventListener ( 'resize' , updateSubBtnPos )
1077+ addEventListener ( 'resize' , updateSubBtnPos )
10781078 } )
10791079 function updateSubBtnPos ( ) {
1080- if ( updateSubBtnPos . timeout ) clearTimeout ( updateSubBtnPos . timeout )
1080+ clearTimeout ( updateSubBtnPos . timeout )
10811081 updateSubBtnPos . timeout = setTimeout ( async ( ) => {
10821082 const primaryDiv = await dom . get . loadedElem ( 'div#primary' ) ,
10831083 actionsDiv = await dom . get . loadedElem ( 'div#actions' ) ,
You can’t perform that action at this time.
0 commit comments