Skip to content

Hide skip sponsor button while YouTube's own ads are playing #2280

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

Closed
wants to merge 1 commit into from

Conversation

pepijnmm
Copy link

  • I agree to license my contribution under GPL-3.0 and agree to allow distribution on app stores as outlined in LICENSE-APPSTORE

To test this pull request, follow the instructions in the wiki.


What does the change do: SponsorBlock will now be hidden during YouTube's own ads.

The skip sponsor button can appear during YouTube ads. If you accidentally click skip, as sometimes YouTube ads start just before a sponsorBlock, YouTube will notify the user that it thinks that an adblocker is being used.

Example of what happened before the change:
image

@ajayyy ajayyy closed this May 31, 2025
@pepijnmm
Copy link
Author

@ajayyy Can you tell me why you closed the pr?
For the people who use adBlock this change won't matter. but for the people who don't, this will make sure that they don't get the youtube premium warning
image

@ajayyy
Copy link
Owner

ajayyy commented May 31, 2025

It is not a good solution to just hide it with css

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

Successfully merging this pull request may close these issues.

2 participants