IsThereAnyDeal/AugmentedSteam

[FEATURE REQUEST] An option to block loading of the GIF images in the app's descriptions

przemo20 opened this issue · 2 comments

Current Behavior (if any)

Currently, with the extension enabled or not, all images in the Steam app description [the “About This Game” section] get loaded.

Desired Behavior

I was wondering if there could be an option for AS to block loading GIF images in the “About This Game” section (of course, this would be an optional setting).

The way I see it how this would work, the extension would block downloading/loading the GIF images, but in the game description you would still see a placeholder for every GIF that got blocked, like:

  • some rectangle (?) with the GIF filename on it (so you kinda get an idea what this GIF is showing),
  • or some way to only show the first frame (or a random frame) from that GIF (so you don't need to download a whole lot of megabytes; although this could be misleading to the end user; they could think this is just a normal static image, so this could use some overlay with a “GIF” word on it (?)).

Also, you would have an option to click on that placeholder, and this would load [start downloading] that specific GIF image (some additional overlay with the “Loading…” text should be added on top of it [the placeholder]?).

Motivation / Use Case for Changing the Behavior

Developers put pretty heavy GIF images on their app pages, and – in my case / with my Internet connection – those tend to take quite some time to load, and not always I'm interested in seeing them.


Not sure if this would be super hard to implement (I will add that I tried a similar setting in the SteamDB extension, but it did not meet my expectations, mostly because it also blocks standard images).

I think this can be achieved with uBlock Origin's "Block media elements larger than..." setting? Other content blockers should also have a similar feature.

Thanks a lot for the recommendation, I wasn't aware that uBlock Oirign has this feature built-in. I played a little with it and it seems to work (though not exactly how I envisioned it, for example, it doesn't show the name of the file that got blocked, but that's a small downside to it).

EDIT: Unfortunately, uBO blocks the game trailers (and other videos) on the store app pages, and clicking on them doesn't unblock them.