tomayac’s avatartomayac’s Twitter Archive—№ 15,309

    1. Wow, <iframe src="foo.html" loading="lazy"> is officially a thing now, just like with images: github.com/whatwg/html/pull/5579. If you offer iframe embeds, please consider adding this to your embed code. x.com/zcorpan/status/1280977925685358592
  1. …in reply to @tomayac
    You can feature-detect support for this like so: if ('loading' in HTMLIFrameElement.prototype) { // 🎉 Supported }