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
275 stars 55 forks source link

Not working on music.youtube.com #41

Closed cloutierMat closed 2 years ago

cloutierMat commented 2 years ago

It would be great if it also worked on music.youtube.com, it appears the button uses the same classes as on youtube.com and *://*.youtube.com/* feels like it should match and skip the ads there too. I am stuck with the ads on music.youtube.

On google chrome, and it work as intended on youtube.com.

agirorn commented 2 years ago

Something must have changed since this used to work on music.youtube.com and now it does not. It would be really interesting to know what changed.

cloutierMat commented 2 years ago

I submitted a pull request that solves the issue.

The tag of the player is different. youtube: <ytd-player id="ytd-player"> music.youtube: <ytmusic-player id="player">

squgeim commented 2 years ago

Thanks for this! I had no idea it worked on YouTube music, I never tested it to work there. I'll incorporate the PR in the next update.

squgeim commented 2 years ago

This has been added in the latest release (v2.0).

squgeim commented 2 years ago

This has been added in the latest release (v2.0).