tombigel/detect-zoom — pull request #43 by mudcube (2013-07-12 02:45:24+00:00)
Title: Simple Demo page, and thought for Chrome zoom detection fix

The demo page is kinda silly, but it serves the purpose of testing quickly.

Also, for 27+ chrome detection:

var n = (window.top.outerWidth) / window.top.innerWidth;
var zoom = Math.round(n * 100) / 100;

This seems to work perfectly (without rounding it's pretty darned close, but off from what is reported by Chrome).

It should be tested in older Chrome releases, and see where the split happens (or perhaps it works quick a bit further back?)