quenhus / uBlock-Origin-dev-filter

Filters to block and remove copycat-websites from DuckDuckGo, Google and other search engines. Specific to dev websites like StackOverflow or GitHub.
The Unlicense
2.23k stars 42 forks source link

google/global.txt: Can sometimes freak out on Google Images #414

Open brian6932 opened 2 months ago

brian6932 commented 2 months ago

Eats every result, regardless of them being spam or not.

chuahou commented 2 months ago

This issue occurs for me as well on a variety of searches.

With the search query "memtest menu" in private browsing, every image result gets eaten for me. Illustrating screenshot

I've tested that with every other filter disabled and only "uBlock-Origin-dev-filter – Google+DuckDuckGo – Global" enabled, the results get eaten; with "uBlock-Origin-dev-filter – Google+DuckDuckGo – Global" disabled, the results do not get eaten.

chuahou commented 1 month ago

It appears the problem is that the filter list selects the .MjjYud element. On the normal search results page, each .MjjYud corresponds to a single search result, which makes it work perfectly. On the image search results page, however, all the search results are wrapped in a .MjjYud, meaning every result gets eaten if at least one result matches one of the blacklisted domains.