Reputation: 13486
I am trying to detect if the user of a web application has hit command +
(say if they are on a Mac) or otherwise instructed their browser to enlarge the view in their browser.
Is there a standard way to do this with JavaScript?
Upvotes: 1
Views: 74
Reputation: 13486
Okay having reviewed the various options it seems that by using a combination of the browser's onResize() event and Tom Bigelajzen's fork of Yonathan Randolph's 'detect zoom' script does what I need.
Upvotes: 1