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
Industries
Creators
Share this item
Have feedback or a question related to this item? Drop us some feedback!
Curated:
1.3.24
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Subscribe for updates
Get updates on the latest curated resources and be the first to hear of new features.
One more step!
Check your email for a confirmation to ensure we got it right.
Oops! Something went wrong while submitting the form.
Creative portfolios, auth tools, and a URL code trick.
We hope you are having a stellar week! Here are this weeks featured inspiration, code and resources.
Featured inspo
eBay Playbook
Gentlerain
Hello Patient
Design Gal Studio