Here’s proof that Apple’s iTunes web site doesn’t natively recognize Google Chrome for automatically launching the iTunes application from the iTunes web site. Below is a screen capture of the source code used by the iTunes web site to detect the presence of the iTunes software on the PC accessing the iTunes web site. The JavaScript function used to detect iTunes is called “iTunesDetected” and will only return TRUE if any of the following are true:
the browser’s user agent string contains the word “Macintosh” the browser is Internet Explorer and the iTunes ActiveX component installed the browser is Firefox and the iTunes Mozilla plugin is installed an iTunes cookie named “iTunesPresent” set to true in the domain of the Apple web site visiting or in “.apple.com”
iTunes web site JavaScript that excludes Google Chrome
The $64 question now is what’s the best way to get the “iTunesPresent” cookie set in domain “.apple.com”.
My first thought was to configure Chrome to use a user agent string containing “Macintosh” and then launch iTunes from the iTunes web site once thereby setting the cookie.
Chrome using Macintosh/Safari User Agent String
I was perplexed when this didn’t work. Using [...]


