NikkelM / Random-YouTube-Video

A browser extension that allows you to truly randomly shuffle videos from any YouTube channel, offering many customization options.
https://chromewebstore.google.com/detail/random-youtube-video/kijgnjhogkjodpakfmhgleobifempckf
GNU Lesser General Public License v3.0
18 stars 3 forks source link

[Bug][Button] If multiple tabs are opened, the newest tab will overwrite the channelID of older buttons #167

Closed NikkelM closed 1 year ago

NikkelM commented 1 year ago

The problem was actually simpler: If a button already exists, we do not build it again. But the extension mistakenly did not set the shuffleButton reference to the correct button type if the user switched between a video and a channel page, leading to the wrong button being used to get the channel ID.