News for hackers. Stuff that matters.
Re:Don't let Reddit kill 3rd party apps by sublinear on Saturday June 03, 2023 @09:00PM (#36182009)
Their design is to control how the uploaded images are accessed and minimize the load on the backend.

They don't want hotlinking so the image data doesn't have a permanent url. They only want the backend to be responsible for sending image data. This then requires an image viewer written in javascript. This is not a bad design. This is fulfilling business requirements successfully and efficiently.

EDIT: efficient for the business not for your browser

Re:Don't let Reddit kill 3rd party apps by Amezarak on Saturday June 03, 2023 @09:19PM (#36182094)
It doesn't just require Javascript to load the image, it requires Javascript from 13 different domains (thanks, NoScript.)

- imgur.com

- btloader.com

- ccgateway.net

- cloudflare

- facebook

- google analytics

- media-lab.ai

- sascdn.com

- scorecardresearch

- stretchsquirrel

- amazon adsystem

- assembly exchange

- run.app

3 of these, imgur, cloudflare, and medialab appear to be the minimum to load the image, and also seems to make everything on the page work (upvoting, commenting, etc.)

I don't think it's efficiency even on their end they're looking for, its tracking and revenue maximization. Which is the reason I block Javascript.

EDIT: actually it seems like you just need imgur and medialab unblocked, so just 2 of the 13.

Re:Don't let Reddit kill 3rd party apps by sublinear on Saturday June 03, 2023 @09:37PM (#36182188)
> I don't think it's efficiency even on their end they're looking for, its tracking and revenue maximization.

These are not mutually exclusive. In fact both these things are the whole point.

> EDIT: actually it seems like you just need imgur and medialab unblocked, so just 2 of the 13.

Yeah exactly.