How can I detect the page zoom level in all modern browsers? While this thread tells how to do it in IE7 and IE8, I can\'t find a good cross-browser solution.
try this
alert(Math.round(window.devicePixelRatio * 100));