Just updated my Nitter instance from GitHub and when I tried using it I noticed that nearly all images and video previews are gone. My first idea was that something's wrong with the CSS as I didn't update those. Did that — didn't fix the problem so I fired up network monitor in Firefox and noticed that it tries to retrieve all images in WebP format 🤯
grepped Nitter's source and that's it — it's what it does now and it's not even an option, it's hardcoded like that!
Went looking for http-accept syntax trying to fix this shit and you know what? This is the example Mozilla themselves give in their docs — prefer WebP over everything else: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept
Here:
// Multiple types, weighted with the quality value syntax:
Accept: text/html, application/xhtml+xml, application/xml;q=0.9, image/webp, */*;q=0.8
Why the fsck they suck up to Google so much and why do independent developers support this Google abomination? 😩