potresti identificare i device usando questa libreria: http://mobiledetect.net/

poi agire di conseguenza.