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

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

.htaccess - Matching full URL in RewriteCond -