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

Cosmetic filters containing pseudo-elements like ::before and ::after are ignored #2448

Closed
Blutgang opened this issue Mar 13, 2017 · 0 comments
Labels

Comments

@Blutgang
Copy link

Blutgang commented Mar 13, 2017

Describe the issue

Filters containing pseudo-elements like ::before and ::after are ignored. (Last working version - uBlock Origin 1.9.6)

One or more specific URLs where the issue occurs

  1. https://www.reddit.com/r/hockey/comments/5yp1cc/nhl_to_permanently_retire_no_66_in_honor_of_josh/
  2. https://www.reddit.com/r/The_Donald/

Steps for anyone to reproduce the issue

  1. Add custom filter: reddit.com##.arrow.down.login-required.access-required::after
  2. Visit the first URL above
  3. Hover over the downvote arrow

Expected result: "Please do not downvote based on team fandom or because you don't agree." hover should be hidden.


  1. Add custom filter: reddit.com###header-bottom-left::before:style(animation: none !important; -moz-animation: none !important; -webkit-animation: none !important; o-animation: none !important; ms-animation: none !important;)
  2. Visit the second URL above
  3. The banner/header displays an animation

Expected result: The banner animation should be disabled.

Your settings

  • Browser/version: Firefox 52.0
  • uBlock Origin version: 1.11.2
Your filter lists

Default filter lists

Your custom filters (if any)
reddit.com##.arrow.down.login-required.access-required::after
reddit.com###header-bottom-left::before:style(animation: none !important; -moz-animation: none !important; -webkit-animation: none !important; o-animation: none !important; ms-animation: none !important;)
@Blutgang Blutgang changed the title Cosmetic filters containing pseudo-elements like ::before and ::after are ignored Cosmetic filters containing pseudo-elements like ::before and ::after are ignored Mar 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants