2 ms·
I converted your code into a uBlock Origin filter. For replies, it also only removes the verified reply. I tried to get it to work, but I think that might be im
by ihuman 6y ago
I converted your code into a uBlock Origin filter. For replies, it also only removes the verified reply. I tried to get it to work, but I think that might be impossible with just CSS selectors.
twitter.com##[role="article"]:has([aria-label="Verified account"])
- sergeykish 6y agouBlock Origin supports XPath ##:xpath(//*[@role="article"][descendant::*[@aria-label="Verified account"]]) Unfortunately no document.queryXPathAll but is easy to shim [2]. It is great technology, sadly not known. [1] https://developer.mozilla.org/en-US/docs/Web/CSS/:has https://developer.mozilla.org/en-US/docs/Web/CSS/:has [2] http://sergeykish.com/web-api-element-prototype-queryxpathall http://sergeykish.com/web-api-element-prototype-queryxpathal...