4 ms·
Can you try this? google.*##.g:has(a[href*=".pinterest."]) google.*##a[href*=".pinterest."]:nth-ancestor(1)
by ffpip 6y ago
Can you try this?
google.*##.g:has(a[href*=".pinterest."])
google.*##a[href*=".pinterest."]:nth-ancestor(1)
- boraoztunc 6y agoThank you that works, eliminated Pinterest results.
- edoceo 6y agoffpip is the real Santa
- gregsadetsky 6y agoThank you so much! A very quick copy paste into uBlock and it works wonders for Google & Google Image searches. I wish I had looked into this before! :-)
- aarchi 6y agonth-ancestor(n) and upward(arg) look handy. They're uBO extensions. https://github.com/gorhill/uBlock/wiki/Procedural-cosmetic-filters#subjectnth-ancestorn https://github.com/gorhill/uBlock/wiki/Procedural-cosmetic-f...
- blunte 6y agoMany thanks, this does work. I do see a momentary flash of pinterest results, but they quickly disappear (and subsequent matches are re-tiled up). Good enough!
- ffpip 6y agoYeah. uBlock Origin is just hiding the results, like it hides blank spaces after it blocks ads. You might notice a momentary flash only for the first few times, or on slower machines.