top | item 22832744

(no title)

acrophobic | 5 years ago

Besides the address bar, another issue for me is now all image is lazy-loaded even in websites that don't use Javascript.

While I realize there are advantages to lazy-loading image, I've never liked it because often it makes the content moved a bit, which a bit annoying. However, in pages that uses JS to lazy-load image at least they usually put placeholder image so I know that there will be image there.

Unfortunately, since Firefox do it even for ordinary websites, now I often scrolling away without realizing there are images, only to find out later the paragraph that I read suddenly jumped to bottom.

I'm worried it will be permanent, especially since right now it's a bit hard to revert this feature.

discuss

order

AtroxDev|5 years ago

It still defaults to eager loading. You have to explicitly add the loading="lazy" attribute for it to load lazily.

antpls|5 years ago

Is there a flag to force it on most images, even the ones without the loading attribute?

thekingshorses|5 years ago

As a developer, I just started using loading="lazy" attribute. It has nothing to do with Javascript. It depends on the developer not the browser.