Use a GIF as a page pre-loader and only show it once per day

Show a custom message in a GIF format or a nice animation to your users once a day when they load the page.

Hack Name:
hacks_6

Demo Example

Code

!
We can not copy-paste TypeScript into Webflow. TypeScript must be compiled to JavaScript. For copy-paste into Webflow, choose JavaScript.
What is TypeScript? 🡭
<script>
document.addEventListener('DOMContentLoaded',
	function () {    
  	const WAIT_TIME = 4500;
  }
})
</script>
!
Copy-paste this script into your Webflow project body.