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.
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.