Note This is a slightly modified version of the original instant.page script. The main differences are that configuration via
<body>
attributes has been removed andmousedown=true
by default.Disable preloading on individual links with
<a href="..." data-no-instant>…</a>
.
ℹ️ Info is on the website.
📜 The original source is in instantpage.js.
🌟 Star this repository to follow its development.
With Node, run:
npm run test
(or node test/app.js
)
And access http://127.0.0.1:8000/. Or specify another port with an argument after the filename.
To minify instantpage.js
into instantpage.min.js
, run npm run minify
.