You should also be able to detect Retina/normal DPI, in addition to the reported resolution. A bit of "responsive" CSS and checking what was selected using JS should be enough?
Heh, the facebook like detection thing failed utterly. Not sure how, or why. But, I am not even logged into facebook on this computer - and never have been. :-)
Comments (206) 60 threads
Earlier commentsBut a very cool hack.
All comments shown.
Couldn't load more comments. Check your connection and try again.