instant.page

Changelog

3.0.0 — October 26, 2019

Announcement.

- Option to preload every visible links.
- Doesn’t preload links already preloaded.
- Allow it to run on 2G/data saver.
- Links that you stop touching or hovering over don’t have their preloading request aborted anymore.

2.0.1 — October 11, 2019

- The script is now mifinied.

2.0.0 — August 17, 2019

Announcement.

- Option to preload on mousedown.
- Option to set a custom delay before preloading on hover.

1.3.0 & 1.3.1 — August 16, 2019

- Whitelist mode.
- Easier to use test suite (options are in the page itself rather than being undocumented command line parameters).

1.2.2 — March 16, 2019

- Don’t preload when data saver is enabled.

1.2.1 — February 26, 2019

- Fix HTTP links not being preloaded.

1.2.0 — February 23, 2019

- Preload external urls if a data-instant-allow-external-links attribute is present in the <body>, or with a data-instant attribute on the <a> element.
- Only preload HTTPS links, and HTTP if not on HTTPS.

1.1.1 — February 23, 2019

- Fix an error on <a> elements without a href attribute.

1.1.0 — February 10, 2019

- Add ability to whitelist a link with a data-instant attribute.

1.0.0 — February 7, 2019

Initial release.

Put this HTML snippet just before </body>:
<script src="//instant.page/3.0.0" type="module" defer integrity="sha384-OeDn4XE77tdHo8pGtE1apMPmAipjoxUQ++eeJa6EtJCfHlvijigWiJpD7VDPWXV1"></script>
Copied. Now place it just before </body> on your pages.