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

Fixes missing Skip button on YouTube #4603

Closed
wants to merge 1 commit into from
Closed

Conversation

ryanbr
Copy link
Collaborator

@ryanbr ryanbr commented Feb 12, 2020

Fixes brave/brave-browser#8209

Working with @LaurenWags It was reported Youtube ad skip this was still causing issues, found an older filter .video-ads was the main cause of this.

I was partially right on my previous commit #4403 with ##.ytp-ad-module but missed the previous .video-ads filler in the removeEmptyElements list. The full element we're incorrectly blocking: youtube.com##.ytp-ad-module.video-ads

To be sure this was resolved, I manually loaded our stylesheet.

Elements being loaded:
div-elements
Element: .video-ads overlay:
yt2

Can we get this into 1.4? @bsclifton

@ryanbr ryanbr changed the title Remove css element causing issues with youtube.com adskip Remove css element causing issues with youtube.com adskip (Fixes https://github.com/brave/brave-browser/issues/2763) Feb 12, 2020
@ryanbr ryanbr changed the title Remove css element causing issues with youtube.com adskip (Fixes https://github.com/brave/brave-browser/issues/2763) Fixes brave/brave-browser/2763 Feb 12, 2020
@ryanbr
Copy link
Collaborator Author

ryanbr commented Feb 12, 2020

Hmm my github title linking foo is weak.

@bsclifton
Copy link
Member

bsclifton commented Mar 4, 2020

@ryanbr now that we've merged cosmetic filtering, is this still needed?

Updated title to be more descriptive and fixed link to issue 😄

@bsclifton bsclifton changed the title Fixes brave/brave-browser/2763 Fixes missing Skip button on YouTube Mar 4, 2020
@bsclifton bsclifton added this to the 1.7.x - Nightly milestone Mar 4, 2020
@ryanbr
Copy link
Collaborator Author

ryanbr commented Mar 4, 2020

Should I create a new PR to remove the custom stylesheets in /assets? @bsclifton

@bsclifton
Copy link
Member

@ryanbr sorry for the super long turn-around in responding here (doh- my bad)

I think now that cosmetic filters has landed, we can remove all of them, right? That would definitely be preferable if these items are already being included in the cosmetic filter list 😄

@ryanbr
Copy link
Collaborator Author

ryanbr commented Mar 11, 2020

Okay, will submit a new PR removing all the cosmetics.

@bsclifton
Copy link
Member

Closing in favor of #4916

@bsclifton bsclifton closed this Mar 23, 2020
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.

Video ads on YouTube do not have Skip button when shields are down - follow up to 2763
2 participants