squgeim / yt-ad-autoskipper

A browser extension that automates skipping ad on Youtube. This is not an ad blocker, it just automates the process of clicking on the "Skip Ad" button on Youtube.
https://chrome.google.com/webstore/detail/youtube-ad-auto-skipper/lokpenepehfdekijkebhpnpcjjpngpnd
GNU General Public License v3.0
271 stars 56 forks source link

Does not work in miniplayer mode #19

Closed a-priestley closed 4 years ago

a-priestley commented 4 years ago

I know that this issue is because of the fact that your script mandates the '/watch' pathname, but is there a reason for this?

a-priestley commented 4 years ago

Update: I altered your script. Seems to work perfectly fine.

20

squgeim commented 4 years ago

The simple reason was that the mini-player mode did not exist back then so this was a sensible optimization. I will take a look at your pull request. Thanks!

a-priestley commented 4 years ago

Great! although my change now would really amount to taking a couple lines out. :P