Alexandre Dieulot
|
c1320293da
v1.3.0
|
5 years ago |
Alexandre Dieulot
|
cd148a1404
Access the potentially preloadable parts of the URL directly on the anchor element, without `new URL`
|
5 years ago |
Alexandre Dieulot
|
a2ff4757a8
Whitelist option
|
5 years ago |
Alexandre Dieulot
|
9faa994f88
v1.2.2
|
6 years ago |
Alexandre Dieulot
|
3d8f34a8b5
Remove comment about Firefox interpreting an empty string as a relative URL
|
6 years ago |
Alexandre Dieulot
|
1678a6919a
Don’t preload when navigator.connection.saveData is true
|
6 years ago |
Alexandre Dieulot
|
f6c98c3ccc
v1.2.1
|
6 years ago |
Alexandre Dieulot
|
7baea6f509
Rename `urlObject` to `preloadLocation` in `isPreloadable`
|
6 years ago |
Alexandre Dieulot
|
1c527d9059
Combine !linkElement & !linkElement.href condition in isPreloadable
|
6 years ago |
Alexandre Dieulot
|
454f9b5558
Fix HTTP links not being preloaded
|
6 years ago |
Alexandre Dieulot
|
491774b8b7
v1.2.0
|
6 years ago |
Alexandre Dieulot
|
d1cd031a54
Put `!linkElement` test in `isPreloadable`
|
6 years ago |
Alexandre Dieulot
|
b3d4dfcb59
Only allow https, and http if not on https
|
6 years ago |
Alexandre Dieulot
|
b007f34a70
`data-instant` attribute allows external links
|
6 years ago |
Alexandre Dieulot
|
3611c034a2
Merge branch 'external-links' of https://github.com/batbyR/instant.page into batbyR-external-links
|
6 years ago |
Alexandre Dieulot
|
da19b08778
v1.1.1
|
6 years ago |
Alexandre Dieulot
|
6b3bca1a1e
Don't preload <a> elements without a `href` attribute
|
6 years ago |
batbyR
|
8c32d16723
Preload external URLs, if attribute present in body
|
6 years ago |
Alexandre Dieulot
|
d15fa1dc71
v1.1.0
|
6 years ago |
Alexandre Dieulot
|
cc475a5f74
Add `data-instant` attribute to whitelist a link with a query string
|
6 years ago |
Alexandre Dieulot
|
3e1b0b2934
Make same-page anchor condition clearer
|
6 years ago |
Alexandre Dieulot
|
90e87d2812
1.0.0
|
6 years ago |
Alexandre Dieulot
|
a40409c794
Don't preload URLs with query strings, unless attribute present in body
|
6 years ago |
Alexandre Dieulot
|
8d1d0f8d00
Simplify falsy returns in isPreloadable
|
6 years ago |
Alexandre Dieulot
|
2e96f42a18
Preload on touchstart
|
6 years ago |
Alexandre Dieulot
|
9331de4df9
Make mouseout event listener passive
|
6 years ago |
Alexandre Dieulot
|
ce448c36a2
Make mouseover event listener passive
|
6 years ago |
Alexandre Dieulot
|
f8c77c631b
Improve (?) the mouseover logic
|
6 years ago |
Alexandre Dieulot
|
9cf5a4f269
Add a 65 ms timer before preloading on mouseover
|
6 years ago |
Alexandre Dieulot
|
54f01a1b20
Remove ajax fallback placeholders and console logs
|
6 years ago |