A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/uBlockOrigin/uBlock-issues/issues/543 below:

No Large Media setting with 0KB should block all images · Issue #543 · uBlockOrigin/uBlock-issues · GitHub

Prerequisites Description

When I set the "No Large Media" setting to 0KB almost all the images are blocked. Except when the image does not have a content-length header. This is known behaviour as described in #188. But, when someone, like me, inputs 0KB then we want to block all images. Even those without a content-length header. Because an image is always bigger than 0KB. uBlock Origin block even these images.

A specific URL where the issue occurs

Any site that has images that return no content-length header. I came across an image on this site: https://hexdocs.pm/pow/Pow.html.

Steps to Reproduce
  1. Set "No Large Media" to 0KB
  2. Visit a site with images that return no content-length headers. Like: https://hexdocs.pm/pow/Pow.html
  3. Set images not blocked
Expected behavior:

All images blocked with a setting of 0KB

Actual behavior:

Images without content-length headers are not blocked

Your environment

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4