Show a Preloader Only Once Per Day

Hide a preloader after its been seen once in a 24 hours (1 day) period of time by storing its status in local storage to ensure it works for even users who have cookie blockers enabled.
Be sure to update the ID used in the 'preloaderElement' variable to the ID used on your own element. You can also adjust the amount of time the element should be shown again by changing the milliseconds calculation in the 'waitTime' variable.
Tags
Creator
Share this item
Have feedback or a question related to this item? Drop us some feedback!
Curated:
1.3.24
Interfaces › Design Engineering Magazine
5.19.26
Subscribe for updates
Get updates on the latest curated resources and be the first to hear of new features.
SubscribeStyle, type, and motion in harmony, architectural web glory, AI your brand
When AI becomes your copilot, make sure you still know how to fly the plane.
Featured inspo
Refero Styles
Daniel Sun
21Oaks
Artemii Lebedev