Re:Twitter misses ad revenue and user growth estimates
by j1elo on Thursday February 10, 2022 @08:41PM
(#30295702)
For me (different language, if it makes a difference), the "Discover new Lists" was interesting but didn't work because just that one doesn't have an aria-label. Instead, it's just a series of divs placed consecutively in the Lists page, each containing a span inside, with the header and the suggested lists.
I found it a nice challenge to learn a bit about selectors and uBlock Origin filter rules, and got this working, for anyone who might care:
twitter.com##span:has-text(Discover new Lists):upward(6) > :nth-child(n+5):nth-child(-n+11)
PS. also a nice tip: you can use the uBlock's "element picker mode" and write your filter starting from the "##" (i.e. leave the domain name out), and that will provide immediate visual feedback of the affected area, without having to reload the page. Neat!
I found it a nice challenge to learn a bit about selectors and uBlock Origin filter rules, and got this working, for anyone who might care:
twitter.com##span:has-text(Discover new Lists):upward(6) > :nth-child(n+5):nth-child(-n+11)
PS. also a nice tip: you can use the uBlock's "element picker mode" and write your filter starting from the "##" (i.e. leave the domain name out), and that will provide immediate visual feedback of the affected area, without having to reload the page. Neat!