MartinBraquet / youtube-adblock

Firefox Add-On Skipping YouTube Ads in Less Than a Second
https://addons.mozilla.org/addon/youtube_adblock
The Unlicense
17 stars 2 forks source link

Skip Ad button not clicked on some machines #2

Open MartinBraquet opened 9 months ago

MartinBraquet commented 9 months ago

On one of my computers, the add-on correctly accelerates but it does not click on the Skip Ad button when it gets available. What more, once the video finishes, it freezes for some seconds until the clock in the top right corner of the video is done. Looking at the console, the add-on correctly detects and clicks on the button but it has no effect. It seems that the JavaScript .click() method behaves differently than a mouse click from the user, hinting that YouTube is using this difference to reject programmatic button clicks. Any idea how to solve it?

Issue already referenced here: https://github.com/TheRealJoelmatic/RemoveAdblockThing/issues/367.

duttyend commented 4 months ago

Dear Martin, This is also the case on Firefox for Androidâ„¢, the Skip Ad button is never clicked in spite of having set the option in the extension settings. Thanks a lot for your wonderful work

MartinBraquet commented 3 months ago

Thanks for the feedback. If anyone has any idea how to solve it, please let us know below.