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
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.