Trying to detect page zoom changes with IntersectionObserver… it looks promising.
edit: Wait a second, I listen for the window 'resize' event, and if both innerWidth and innerHeight change by the exact same ratio, that’s page zoom. No?
Trying to detect page zoom changes with IntersectionObserver… it looks promising.
edit: Wait a second, I listen for the window 'resize' event, and if both innerWidth and innerHeight change by the exact same ratio, that’s page zoom. No?
If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/simevidas/statuses/114961449151207883 on your instance and quote it. (Note that quoting is not supported in Mastodon.)