Infovarious Lazy Load

Description

WordPress and modern browsers already lazy-load images natively. This plugin does not rewrite your HTML. It adds two small things:

  • Fade-in – images with loading=”lazy” fade in smoothly once loaded. Respects “reduce motion”. Images are always shown after 5 seconds at the latest.
  • Delayed social scripts – scripts for X (Twitter), Instagram, Threads, note, Hatena Bookmark, Pinterest and LINE embeds and buttons are removed from post content and loaded only when the page really contains such an embed or button, shortly before it scrolls into view. The Facebook SDK is loaded the same way. Pages without embeds load no external social scripts.

Both features can be switched off under Settings > Infovarious Lazy Load.

External services

This plugin does not send any data itself and has no server of its own. However, when a page contains an embed or a button of one of the services below, the visitor’s browser loads that service’s official script, as it would without this plugin. This plugin only delays the loading until the embed is about to scroll into view. Pages without such an embed load none of these scripts.

When the script is requested, the visitor’s browser sends the usual request data (IP address, browser information and the address of the page being viewed) to the service, and the service may set its own cookies. What the service does with that data is described in its own terms and privacy policy.

X (Twitter)

Script: https://platform.twitter.com/widgets.js. Used to display embedded posts and buttons. Loaded only when the page contains an X embed.
Terms of Service: https://x.com/en/tos
Privacy Policy: https://x.com/en/privacy

Instagram

Script: https://www.instagram.com/embed.js. Used to display embedded Instagram posts. Loaded only when the page contains an Instagram embed.
Terms of Use: https://help.instagram.com/581066165581870
Privacy Policy: https://privacycenter.instagram.com/policy

Threads

Script: https://www.threads.com/embed.js. Used to display embedded Threads posts. Loaded only when the page contains a Threads embed.
Terms of Use: https://help.instagram.com/769983657850450
Privacy Policy: https://help.instagram.com/515230437301944

Facebook

Script: https://connect.facebook.net/ (the Facebook SDK for JavaScript, sdk.js, in the locale set in the plugin). Used to display embedded Facebook posts, videos and plugins. Loaded only when the page contains a Facebook embed.
Terms of Service: https://www.facebook.com/terms.php
Privacy Policy: https://www.facebook.com/privacy/policy/

note

Script: https://note.com/scripts/embed.js. Used to display embedded note articles. Loaded only when the page contains a note embed.
Terms of Use: https://terms.help-note.com/hc/ja/articles/44943817565465
Privacy Policy: https://terms.help-note.com/hc/ja/articles/44948981050649

Hatena Bookmark

Script: https://b.st-hatena.com/js/bookmark_button.js. Used to display the Hatena Bookmark button. Loaded only when the page contains that button.
Terms of Service: https://policies.hatena.ne.jp/terms
Privacy Policy: https://policies.hatena.ne.jp/privacy

Pinterest

Script: https://assets.pinterest.com/js/pinit.js. Used to display Pinterest pins and the Save button. Loaded only when the page contains a Pinterest embed or button.
Terms of Service: https://policy.pinterest.com/en/terms-of-service
Privacy Policy: https://policy.pinterest.com/en/privacy-policy

LINE

Script: https://www.line-website.com/social-plugins/js/thirdparty/loader.min.js. Used to display the LINE share button. Loaded only when the page contains that button.
Terms and policies: https://developers.line.biz/en/terms-and-policies/
Privacy Policy: https://www.lycorp.co.jp/ja/company/privacypolicy/

Installation

  1. Upload the plugin and activate it.
  2. Optionally adjust Settings > Infovarious Lazy Load.

FAQ

Does it change my HTML?

No. Only the embed script tags are removed and loaded later by JavaScript.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Infovarious Lazy Load” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.0

  • Initial release.