Lightweight, dependency-free JavaScript utility for detecting exit-intent. Fires a single custom event when the user looks like they're about to leave – based on time-on-page, idle time, mouse-leave, tab visibility & window blur. Perfect for pop-ups, surv
A polyfill for creating CustomEvents on IE9+ if the native implementation is missing.
a fully tested and covered polyfill for new DOM Level 4 entries