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

Cannot set exemptions to strict blocks #1754

Closed
Alexendoo opened this issue Jun 25, 2016 · 3 comments
Closed

Cannot set exemptions to strict blocks #1754

Alexendoo opened this issue Jun 25, 2016 · 3 comments
Labels

Comments

@Alexendoo
Copy link

Describe the issue

Setting a filter of example.com$document blocks an entire page, I was trying to unblock a subpage e.g. example.com/page.

both:

example.com$document
@@example.com/page

and

example.com$document
@@example.com/page$document

Resulted in both example.com and example.com/page being blocked

Your settings

Default settings

  • Browser/version: Chrome 53.0.2774.3 dev-m
  • Browser/version: Firefox 47.0
  • uBlock Origin version: 1.7.6
Your filter lists

My filters only

@gorhill
Copy link
Owner

gorhill commented Jun 25, 2016

To fix this requires to support exception filters for the document option. I will implement support for this, but of course the semantic of such filter in uBO will be completely different than that of ABP -- where the document option means "disable all filters for the document".

@monolifed
Copy link

monolifed commented Aug 19, 2016

Does strict blocking syntax support some kind of string matching?
Edit: It supports wildcard * and seperator ^ but not regex
||example.com/_foo$document
||example.com/_bar^$document

@gorhill
Copy link
Owner

gorhill commented Aug 19, 2016

It's just a filter option on whatever is a valid ABP-compatible filter syntax.

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

3 participants