As a developer and systems architect, I really like this. As uset, I hate this so much. On slower connections, I like to load a page, swap tabs, come back later and expect the page to be loaded. This mechanism will now break (and is already brokrn by the usr of these lazy loading libs).
Hmm, maybe if websites don't use lazy loading JavaScript anymore (guilty as charged btw) then you'll be able to configure it however you want in browser settings?
Native lazy loading has landed in Chrome
11–20 of 49 posts
Re: Native lazy loading has landed in Chrome
#12`if ('loading' in HTMLImageElement.prototype === true) {` /rolleyes
It make polyfills way easier, and makes it drop-dead simple to programmatically toggle lazy-loading on existing elements.
Re: Native lazy loading has landed in Chrome
#13Re: Native lazy loading has landed in Chrome
#14`if ('loading' in HTMLImageElement.prototype === true) {` /rolleyes
I'm missing why this is a bad thing? It make polyfills way easier, and makes it drop-dead simple to programmatically toggle lazy-loading on existing elements.
Re: Native lazy loading has landed in Chrome
#15As a developer and systems architect, I really like this. As uset, I hate this so much. On slower connections, I like to load a page, swap tabs, come back later and expect the page to be loaded. This mechanism will now break (and is already brokrn by the usr of these lazy loading libs).
Re: Native lazy loading has landed in Chrome
#16Re: Native lazy loading has landed in Chrome
#17Earlier quoted context omitted.
Hmm, maybe if websites don't use lazy loading JavaScript anymore (guilty as charged btw) then you'll be able to configure it however you want in browser settings?
I imagine anti-lazyloading extensions will start appearing soon.
Re: Native lazy loading has landed in Chrome
#18Seems like the image service the author is using is down because of traffic… https://placedog.net/400/400
Re: Native lazy loading has landed in Chrome
#19Earlier quoted context omitted.
I'm missing why this is a bad thing? It make polyfills way easier, and makes it drop-dead simple to programmatically toggle lazy-loading on existing elements.
I think the previous poster was referring to the unnecessary `=== true` part.
Re: Native lazy loading has landed in Chrome
#20I'm happy to see this. So many websites with lazy loading never implemented a fallback for noscript. And most of the popular libraries didn't account for this accessibility.