Twitch - Mute and hide ads, while keeping the audio of the stream on

Automatically mutes and hides the Twitch player when an advertisement started and revert it back to normal once finished. The stream can still be heard during ads. You can also display ads via the "Ads Options" button.

< Twitch - Mute and hide ads, while keeping the audio of the stream onについてのフィードバック

質問/コメント

§
投稿日: 2018/09/15
編集日: 2018/09/23

Cant skip the ad

I have change the code to turn off, but it doesnt work :S

Harest作者
§
投稿日: 2018/09/16
編集日: 2018/09/17

You can't "skip" an ad, just hiding it cf. description. Setting disableDisplay property of _tmuteVars (l16) from false to true will hide the ads (the player will be black). I could turn it on by default but i'm not sure this is the most wanted behavior so i let it optional.
 
I may try to do some reverse engeneering to avoid the ads from playing entirely. The hardest part will be to find the function to rewrite, there's a lot of obfuscation in there (not even sure we can do anything with this webpack read-only stuff). Otherwise we can already easily see if it's an ad that'll be played or not in the playlists requests. At the moment the ads started by the streamer don't have that little text saying "this ad supports ..." so they're displayed and not muted.

返信を投稿

返信を投稿するにはログインしてください

长期地址
遇到问题?请前往 GitHub 提 Issues。