Last Updated: February 25, 2016
·
567
· williamapan

Detect retina displays with javascript

var retina = window.devicePixelRatio > 1 ? true : false;