5 ms·
This has been addressed from reading the PR diff: > If scripting is disabled for img, return false. > This is an anti-tracking measure, because if a user agen
by jameslk 7y ago
This has been addressed from reading the PR diff:
> If scripting is disabled for img, return false.
> This is an anti-tracking measure, because if a user agent supported lazy loading when scripting is disabled, it would still be possible for a site to track a user's approximate scroll position throughout a session, by strategically placing images in a page's markup such that a server can track how many images are requested and when.
- floatingatoll 7y agoThe subtext here is, I believe, that the on-page JS can already see your viewport if JS is enabled, and thus would have little reason to use images to duplicate that.