Comment 8 for bug 1059020

Revision history for this message
Michael Mims (mims-michael) wrote :

I've just been looking at this, and it appears that Amazon (in general) supports the following countries:
Canada (.ca) | China (.cn) | France (.fr) | Germany (.de) | Italy (.it) | Japan (.co.jp) | Spain (.es) | United Kingdom (.co.uk) | United States (.com)

Of these countries, cloud player seems to be available for only:
France (.fr) | Germany (.de) | United Kingdom (.co.uk) | United States (.com)

All urls appear to use the same relative paths with the only difference being the top level domain. I would suggest changing the sandbox pattern to:
https?://((www\.)?amazon\.(com|fr|de|co\.uk)/(ap/signin|gp/dmusic/mp3/(player|forceSignIn)|gp/redirect))

In this case, it seems that Amazon's redirection service should suffice with the only drawback being that you have to essentially login twice. Of course, we would need testing for French and UK users.

Jiří, do you have any plans for how multi-lingual service integrations will work in the future? Perhaps the home page could be determined by locale and use a home_page_xx variable (where xx is a locale/country code) if available, otherwise default to home_page?