plugin-icon

Native Lazyload + Polyfill

投稿者: Nico·
Adds native lazyloading to all images and embeds (Chrome) and adds a polyfill to make it work in all browsers.
バージョン
1.1.0
有効インストール数
20
最終更新日時
Oct 11, 2019
Native Lazyload + Polyfill

Minimalistic lazyloading, loads images as they come into view. Adds native lazyloading to all images and embeds (Chrome) and adds a polyfill (1.07 KiB gzipped) to make it work in all browsers.

How it works technically (if you care)

  • Adds loading="lazy" to all <img> and <iframe> inside the_content and other areas.
  • Also wraps <img>, <iframe> and the content of <pictures> in <noscript>.
  • Adds the loading-attribute-polyfill to do its magic in JavaScript.

Feedback/Help is very welcome.

無料Business プランを利用中
インストールすることで、WordPress.com の利用規約サードパーティプラグイン利用規約に同意したことになります。
最大テスト回数
WordPress 5.2.23
このプラグインをダウンロードして、 サイトに使用できます。