()
| 2917 | } |
| 2918 | |
| 2919 | function waitForWidgetMounted() { |
| 2920 | nowPlayingWidget = document.querySelector(".main-nowPlayingWidget-nowPlaying"); |
| 2921 | if (!nowPlayingWidget) { |
| 2922 | setTimeout(waitForWidgetMounted, 300); |
| 2923 | return; |
| 2924 | } |
| 2925 | nowPlayingWidget.append(...widgetStash); |
| 2926 | } |
| 2927 | |
| 2928 | (function attachObserver() { |
| 2929 | const leftPlayer = document.querySelector(".main-nowPlayingBar-left"); |