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 filter is not enforced on the site [Chromium] #2036

Closed
zummuz opened this issue Sep 28, 2016 · 1 comment
Closed

cosmetic filter is not enforced on the site [Chromium] #2036

zummuz opened this issue Sep 28, 2016 · 1 comment
Labels

Comments

@zummuz
Copy link

zummuz commented Sep 28, 2016

Describe the issue

There is an overlay on http://www.bucksfreepress.co.uk/ at the bottom, and it reappears after being bloked. On Firefox it stays hidden.

One or more specific URLs where the issue occurs

http://www.bucksfreepress.co.uk/

Screenshot in which the issue can be seen

screenshot from 2016-09-28 19-51-08
https://imgur.com/gallery/VujKa (original report)

Steps for anyone to reproduce the issue

Go to http://www.bucksfreepress.co.uk/
Add bucksfreepress.co.uk###__nq__hh to block overlay
Reload the page
See the overlay's background presents nevertheless

Your settings

default

  • Browser/version: chromium 52.0.2743.116
  • uBlock Origin version: 1.9.10
Your filter lists

default

Your custom filters (if any)

bucksfreepress.co.uk###__nq__hh

@zummuz zummuz changed the title cosmetic filters are not enforced on the site [Chromium] cosmetic filter is not enforced on the site [Chromium] Sep 28, 2016
@gorhill
Copy link
Owner

gorhill commented Sep 28, 2016

Chromium-based browser limitation: there is no concept of "user style", which would override the page's style. uBO uses a few tricks which works partially in the current case (try and see difference with ABP).

For the current case, a better cosmetic filter can be used to alleviate the lack of user style, try:

bucksfreepress.co.uk###__nq__hh:style(visibility: collapse)

Since the warning is to only demand a visitor to turn off their blocker, I will add a filter to uBO's filters to remove it.

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