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?

0

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.)