Window.prototype.devicePixelRatio

IE6+, iOS Safari 4.3+, and Safari 4+.
Changing zoom changes value.