Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SponsorBlock support #1

Closed
Informatic opened this issue Apr 5, 2021 · 2 comments · Fixed by #10
Closed

SponsorBlock support #1

Informatic opened this issue Apr 5, 2021 · 2 comments · Fixed by #10
Labels
enhancement New feature or request

Comments

@Informatic
Copy link
Contributor

SponsorBlock is an open-source crowdsourced browser extension and open API for skipping sponsor segments in YouTube videos.

They seemingly support youtube.com/.tv so that should be pretty possible to just pull in their contentscript, after beating their ts(x) with enough webpack/babel magic.

@FriedChickenButt FriedChickenButt added the enhancement New feature or request label Apr 10, 2021
@Informatic
Copy link
Contributor Author

https://git.gir.st/subscriptionfeed.git/blob/59a590d:/app/youtube/templates/watch.html.j2#l22 This seems like a nice minimal implementation of SponsorBlock as a reference if we were to go for a custom solution.

@Informatic
Copy link
Contributor Author

OK, I've just spent ~an hour trying to get this working but current SponsorBlock content script is quite tightly interconnected with webextension APIs, for which I can't find any sensible shims. I think this should be fairly easy to just reimplement everything ourselves solely for userscript & youtubetv setup. (and we'd also need to create our own configuration UI anyway for that)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants