-
Notifications
You must be signed in to change notification settings - Fork 82
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
Element Picker does not work for certain sites #889
Comments
Enable cosmetic filtering ? Did you click on the element after clicking on the picker icon ? |
I know it is only for confirmed issue so haven't reported but I experienced the same problem a few times on Firefox mobile running on Android 10. I doubt it has sth to do w/ reddit, it rather seemed to be a problem of some tab(s) open at the time. Restart the browser, reload the tabs, close and open uBO dashboard etc. eventually fixed it, please test @allanwind. I still don't figure out conditions to reproduce. |
In my case, cosmetic is ofc enabled and if I click sth just a usual event (e.g. if it was a link, go to the site) occurred. |
The global "Disable cosmetic filtering" was not set, however, the
per site cosmetic filter was disabled. Sorry, this is
embarrassing. I have used uBlock Origin for a very long time,
and must have disabled that per site setting by accident.
Maybe the flash and element picker icons shouldn't be clickable if
the cosmetic filtering is not enabled? Those two icons have a
dependency on the feature but visually you cannot tell that is
the case.
/Allan
--
Allan Wind
Yaxto - Runs Your Business
<https://yaxto.com>
|
Then this issue should be closed, as I so far have no idea to reproduce what I said. |
Duplicate of gorhill/uBlock#3212 |
The zapper must still be usable without cosmetic filtering, so the solution is to make the zapper independent from the picker code. As for the picker, someone may still want to create network-based filters, so in that case the solution is to ensure the picker can still function without the DOM filterer code present. |
Prerequisites
Description
On certain sites the Element Picker does not work. When you click ... | uBlock origin | Element Picker Symbol the uBlock tab is closed but the UI is not injected into the tab of interest. It does work as expected on other sites for example google.com.
I used the remote debugger and the only log event on my phone was:
Scripts may not close windows that were not opened by script.
and it happens for both working and non-working site. It appears to be a different issue than #81 as it does work google.com. Also, I reproduced this with both the latest stable version and the b5 as of last night.
I cannot reproduce this issue with uBlock 1.24.4, Firefox 68.4 on Linux (desktop), i.e. it appears to specific to Mobile. That said, reddit.com is doing a lot mobile specific stuff including aggressively pushing their app which makes the site annoying to browse on mobile.
A specific URL where the issue occurs
https://reddit.com
Steps to Reproduce
Expected behavior:
The uBlock tab should be closed and the tab with the reddit.com should have the element picker ui element injected.
Actual behavior:
The ublock tab is closed but the element picker ui is not injected into the reddit.com tab.
Your environment
The text was updated successfully, but these errors were encountered: