Title: Native Lazyload + Polyfill
Author: Nico
Published: <strong>26. август 2019.</strong>
Last modified: 11. октобар 2019.

---

Претражи додатке

![](https://ps.w.org/native-lazyload-polyfill/assets/banner-772x250.png?rev=2146507)

Овај додатак **није испробан са последња 3 главна издања Вордпреса**.Можда се више
не одржава или подржава и можда има грешке са усклађеношћу са новијим издањима Вордреса.

![](https://s.w.org/plugins/geopattern-icon/native-lazyload-polyfill_282c34.svg)

# Native Lazyload + Polyfill

 [Nico](https://profiles.wordpress.org/nico23/)

[Преузимање](https://downloads.wordpress.org/plugin/native-lazyload-polyfill.1.1.0.zip)

 * [Детаљи](https://sr.wordpress.org/plugins/native-lazyload-polyfill/#description)
 * [Прегледи](https://sr.wordpress.org/plugins/native-lazyload-polyfill/#reviews)
 *  [Постављање](https://sr.wordpress.org/plugins/native-lazyload-polyfill/#installation)
 * [Изградња](https://sr.wordpress.org/plugins/native-lazyload-polyfill/#developers)

 [Подршка](https://wordpress.org/support/plugin/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.

 * [Homepage](https://nextgenthemes.com/plugins/native-lazyload-polyfill/)
 * [Gitlab](https://gitlab.com/nnico/native-lazyload-polyfill)

### 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](https://github.com/mfranzke/loading-attribute-polyfill)
   to do its magic in JavaScript.

Feedback/Help is very welcome.

## Постављање

Please refer to [codex.wordpress.org/Managing_Plugins#Automatic_Plugin_Installation](https://codex.wordpress.org/Managing_Plugins#Automatic_Plugin_Installation).

## Прегледи

Нема рецензија за овај додатак.

## Сарадници и градитељи

„Native Lazyload + Polyfill“ је софтвер отвореног кода. Следећи људи су допринели
овом додатку.

Сарадници

 *   [ Nico ](https://profiles.wordpress.org/nico23/)

[Преведите „Native Lazyload + Polyfill“ на свој језик.](https://translate.wordpress.org/projects/wp-plugins/native-lazyload-polyfill)

### Заинтересовани сте за градњу?

[Прегледајте код](https://plugins.trac.wordpress.org/browser/native-lazyload-polyfill/),
проверите [SVN складиште](https://plugins.svn.wordpress.org/native-lazyload-polyfill/)
или се пријавите на [белешку градње](https://plugins.trac.wordpress.org/log/native-lazyload-polyfill/)
преко [RSS-а](https://plugins.trac.wordpress.org/log/native-lazyload-polyfill/?limit=100&mode=stop_on_copy&format=rss).

## Белешка о изменама

### 2019-10-11 – 1.1.0

 * Fix: Never wrap a element if its already inside any `noscript` tag.

### 2019-10-07 – 1.0.3

 * Fix: Recent releases did not contain vendor folder.

### 2019-10-07 – 1.0.1

 * Improved: Put `load="eager"` on the first element in `the_content`.

### 2019-09-28 – 0.9.13

 * Improved: Allow duplicate IDs in HTML

### 2019-09-01 – 0.9.12

 * Fix: Release did not contain vendor folder. (Release automation script bug)

### 2019-09-01 – 0.9.11

 * Improved: better variable name for some code.

### 2019-09-01 – 0.9.10

 * Improved: Do not fail on weird data types, just cast to string.

### 2019-08-30 – 0.9.9

 * Fixed: Prevent return of `null` on `the_content` filter.
 * Improved: Return early if there is no HTML to be filtered.

### 2019-08-30 – 0.9.8

 * Improved: Make it work everywhere, skip the `wp_body_open` thing for now.

### 2019-08-30 – 0.9.7

 * Fixed: Switched HTML Parsing lib to `ivopetkov/html5-dom-document-php` native
   and other libs have many issues and are poorly maintained. **This means PHP 7.0
   + is needed now**
 * Improved: Added more filters.

### 2019-08-28 – 0.9.3

 * Fixed: Picture tag noscript inner wrapping was not correctly working, `QueryPath`
   is now used for HTML modification as PHP DOM and other libraries I tried choked
   on HTML5 and (nested) noscript tags.

### 2019-08-28 – 0.9.2

 * Improved: Filtering `the_content`, at very late time.
 * Improved: Cachebust JS if `WP_DEBUG` is on.

### 2019-08-28 – 0.9.1

 * Release

## Мета

 *  Version **1.1.0**
 *  Last updated **7 година раније**
 *  Active installations **20+**
 *  WordPress version ** 4.4.0 или новије **
 *  Tested up to **5.2.24**
 *  PHP version ** 7.0 или новије **
 *  Language
 * [English (US)](https://wordpress.org/plugins/native-lazyload-polyfill/)
 * Tags
 * [embed](https://sr.wordpress.org/plugins/tags/embed/)[iframe](https://sr.wordpress.org/plugins/tags/iframe/)
   [images](https://sr.wordpress.org/plugins/tags/images/)[lazyload](https://sr.wordpress.org/plugins/tags/lazyload/)
   [loading](https://sr.wordpress.org/plugins/tags/loading/)
 *  [Напредни преглед](https://sr.wordpress.org/plugins/native-lazyload-polyfill/advanced/)

## Оцене

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/native-lazyload-polyfill/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/native-lazyload-polyfill/reviews/)

## Сарадници

 *   [ Nico ](https://profiles.wordpress.org/nico23/)

## Подршка

Имате нешто да кажете? Потребна вам је помоћ?

 [Види форум подршке](https://wordpress.org/support/plugin/native-lazyload-polyfill/)

## Донирај

Желите ли да подржите напредак овог додатка?

 [ Донирај овом додатку ](https://nextgenthemes.com/donate/)