Open marcelstoer opened 9 years ago
How about adding a function that borrows the open-source regexp from http://detectmobilebrowsers.com/ ?
This would need to be kept up-to date (the expression was last updated Aug 2014), so perhaps a source code comment referencing the source URL would be good.
It'd be nice if you could add support for detection of mobile devices. So far I've been using mobile-detect.js.