We're going to have m.addons.mozilla.org in a bit (bug 622586) and we need to support that in the app. This bug is for: - Adding a MOBILE_DOMAIN or similar to settings that defaults to m.DOMAIN - Adding at least 1 template with 'testo' and 'view full site' on it so we can see how this all works - If we don't have a mobile version of a page, we redirect to the requested page on DOMAIN, always - If someone clicks 'view full site' a cookie is sent to them and they are redirected - If that cookie is seen on m.amo we always redirect to the same page on DOMAIN
Based on data from http://detectmobilebrowser.com/ and other sketchy sources, I'm going to look for this in the User-Agent string: android|fennec|iemobile|iphone|opera (mini|mobi) People will be able to click "show me mobile" if we don't detect their browser, so I'm not worried about covering every single browser ever.
Mobile detection: http://github.com/jbalogh/zamboni/commit/f1f7283 (going to zeus in bug 626871) X-Mobile: http://github.com/jbalogh/zamboni/commit/ddeccf7 Merge: http://github.com/jbalogh/zamboni/commit/84db383
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Here's how you trigger mobile: * Have one of the words from comment 1 in your User-Agent (I use a Fennec UA). ** AND: If you have a cookie named mamo, it should not be set to "off". OR * Have a cookie named mamo with the value "on". This is only supposed to work on mobile-enabled pages (right now only /). (bug 628445)
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.