IsThereAnyDeal / AugmentedSteam

Augments your Steam Experience
https://augmentedsteam.com
GNU General Public License v3.0
1.37k stars 84 forks source link

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

Open przemo20 opened 1 month ago

przemo20 commented 1 month ago

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:

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).

candela97 commented 1 month ago

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.

przemo20 commented 1 month ago

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.