Import element zapper's scroll-unlocking heuristics into element picker #2439
-
Per the wiki,
Currently, this behaviour is not present when using the element picker. I believe importing such behaviour would increase the user-friendliness of the picker, especially for those who understand using the element picker but not proficient enough in filter-crafting. Additionally, result(s) of the heuristic shall be added to the Here's a use case.
Thank you for considering. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
https://www.reddit.com/r/uBlockOrigin/comments/qpojmt/comment/hxp1lna/
|
Beta Was this translation helpful? Give feedback.
-
The suggestion is rather problematic to filter author who is the first and foremost user of the tool as we often have to preview :style() rules. |
Beta Was this translation helpful? Give feedback.
-
Picker and Zapper exist separately for a reason. Asking to merge Zapper into Picker is not going to happen, this has been suggested before too and declined. As for scroll unlocking feature, it already exists in uBO too, but works sometimes and sometimes doesn't. That should be tweaked if possible. |
Beta Was this translation helpful? Give feedback.
-
The way to scroll-unlock in the zapper can't be imported in the filter creation tool, it's done in a completely different manner. The zapper makes guesses as to whether scrolling is locked and apply changes in the hope this will restore scrolling -- not guaranteed to work (people should report when it does not work so that we can look into improving the "guesser"). With the picker, there is no guess, filter authors will create a very targeted filter which will disable scroll-lock. The proper course of action in your example is to report the case to filter author so that it get properly fixed in an optimal manner in Annoyances lists. In the provided case, the filters would be:
No heuristics in the zapper can come up with these filters, even the picker is unable to tell for sure what exact filter has to be created, there need to be a human trying out the various suggestions and often manually fine tuning using the browser dev tools to find the best one. |
Beta Was this translation helpful? Give feedback.
The way to scroll-unlock in the zapper can't be imported in the filter creation tool, it's done in a completely different manner. The zapper makes guesses as to whether scrolling is locked and apply changes in the hope this will restore scrolling -- not guaranteed to work (people should report when it does not work so that we can look into improving the "guesser").
With the picker, there is no guess, filter authors will create a very targeted filter which will disable scroll-lock.
The proper course of action in your example is to report the case to filter author so that it get properly fixed in an optimal manner in Annoyances lists.
In the provided case, the filters would be: