Closed
Description
I know that it is canonical way to hide blocked elements. But sometimes it might be useful to actually remove DOM element. At least I don't have any other idea for the following testcase.
- Go to http://www.wykop.pl/
- Switch view mode to "grid". (button on right hand side - marked with red circle on screenshot)
- You will see that ads are properly hidden, but this leave blank items in grid. When I manually remove hidden element, grid is properly shown - without blank spaces.
To reproduce those filters are needed.
wykop.pl##li.link:has(a[href*='wykop.pl/reklama'])
wykop.pl##li.link:has(a[href*='wykop.pl/paylink'])
wykop.pl##li.link:has(a[href*='wykop.pl/market'])
wykop.pl##li.link:has(.adsbygoogle)
Any ideas how we can work this out? I know leftovers are not that bad, but still would be nice if we could remove them :)
Metadata
Metadata
Assignees
Labels
No labels