twitchAdSkip
twitchAdSkip copied to clipboard
Console not displaying appropriate error on Following page
If I am on my following page https://www.twitch.tv/directory/following/live()
, I eventually see this message:
twitchAdSkip: Video player not found.
This is technically appropriate, but not the message I expected to see. The message I expected to see,
if (!videoNodeEl) {
throw new Error('Video player element not found. If it is expected that there is no video on the current page (e.g. Twitch directory), then ignore this error.');
}
appears to be kept within the listenForVolumeChanges
function, but the script is falling through to spawnFindVideoPlayerEl
instead.