html - How does grooveshark.com detect mobile users? -


when visit http://grooveshark.com/ smartphone, you're redirected http://html5.grooveshark.com/. wondering if knows how this. can tell?

requests sent browser website contain user agent string in header. see http://www.useragentstring.com/

this gets compared maintained list of known mobile devices.


Comments

Popular posts from this blog

mod rewrite - Using "?" when rewriting the URL -

.htaccess: Transfer name to index.php if not directory public -

Admob integration with pygame in android -