-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
ublock unhides hidden elements when it's updated #3185
Comments
Browser behavior, probably by design. |
Could this be reopened? |
You can comment on it without having to re-open. Anyway, I will try something on my side, I just realized I broke the manual injection of scripts at launch with a recent change. |
What do you mean by "startup hook"? |
Un-hiding cannot be fixed, this is a by-design browser behavior. However I fixed the broken manual injection of content scripts, so the cosmetic filters should be re-applied as used to be the case. |
You can reapply the hiding when the startup hook is called, I think. https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/runtime/onInstalled |
I know about these listeners -- uBO of course knows when its being launched, this is not the issue. The issue is to have the content scripts injected only when all the filter lists have been loaded so that the required cosmetic filters can be fetched. Anyways, fixed as best as can be with the last commit. |
Describe the issue
ublock unhides hidden elements when it's updated
One or more specific URLs where the issue occurs
tumblr.com/dashboard
Screenshot in which the issue can be seen
[pending ublock update]
Steps for anyone to reproduce the issue
www.tumblr.com##.post[data-is_recommended="1"]
in your custom filtersYour settings
set:
unset:
Your filter lists
all ublock
easylist
adblock warning removal
easyprivacy
malware domain list
malware domains
fanboy's annoyance
fanboy's social
peter lowe's ad/tracking list
aaklist (which is apparently "custom"?)
Your custom filters (if any)
edit: I believe this can be fixed with startup hooks: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/runtime/onInstalled (but I'm not an extension developer)
The text was updated successfully, but these errors were encountered: