Skip to content
This repository was archived by the owner on Feb 12, 2021. It is now read-only.

Add prefetch on hover#502

Open
f-elix wants to merge 1 commit intoDeuxHuitHuit:masterfrom
f-elix:prefetch-on-hover
Open

Add prefetch on hover#502
f-elix wants to merge 1 commit intoDeuxHuitHuit:masterfrom
f-elix:prefetch-on-hover

Conversation

@f-elix
Copy link

@f-elix f-elix commented Oct 30, 2020

A module to prefetch non-ajax pages on link hover or touch.

On mouse devices, the link will be prefetched after either HOVER_DELAY or a cumulative HOVER_PERIOD (which is incremented every time a mouse hovers the link).

On touch devices, the link will be prefetch after a TOUCH_DELAY.

All three values can be changed, of course.

@f-elix f-elix self-assigned this Nov 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant