Prevents websites from knowing that you switched tabs or unfocused the window
These are all versions of this script. Show only the versions where the code changed.
Fix: classList null safety
Hotfix
Fix issues arising from blocking `mouseleave` and `mouseout` events on all elements
Fix visibilityState and webkitVisibilityState not working as intended
Exclude anchor and span elements, add update URL
Prevent tracking when mouse leaves page
- Added webkitVisibilityState- Added get() handler for visibilityState properties- Add event listeners to document- Add event.preventDefault()- Hopefully added mobile support- Remove repetitive code