Closed Bug 680602 Opened 13 years ago Closed 13 years ago

Notify people that their browser can't install apps

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect, P3)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jbalogh, Assigned: spasovski)

References

Details

`if !(navigator.apps && navigator.apps.install)` then we can't install a webapp for you. Let's add one of those little incompat messages so people know we know. Any strings should probably stay untranslated until fligtar/ragavan can take a look.
Priority: -- → P3
Target Milestone: 6.2.2 → 6.2.3
Target Milestone: 6.2.3 → Q3 2011
Target Milestone: Q3 2011 → 6.2.4
Target Milestone: 6.2.4 → 6.2.5
Target Milestone: 6.2.5 → 6.2.6
Target Milestone: 6.2.6 → 6.2.7
Assignee: kumar.mcmillan → dspasovski
Target Milestone: 6.2.7 → 6.2.9
This is probably invalid if we start including the HTML5 shim.
Blocks: 690899
This is almost ready but I need to know whether we want this message to show up all the time or whether we can suppress it once it has been seen.
All the time, assuming it's not an alert() or something. If it's just a note somewhere on the page, let's do it.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Do we want this to show up on mobile?
Am I correct in thinking that `if !(navigator.apps && navigator.apps.install)` could only be true if the server that serves the Apps 'include.js' is down? Or does this also help us detect that the javascript interpreter is very, very old? How do we detect that javascript is totally turned off?
The only scenario in which navigator.mozApps isn't available is if the server providing include.js is down. This is, of course, assuming you are including the apps 'include.js' on all pages that needs to use the API: https://myapps.mozillalabs.com/jsapi/include.js (which backs off if it detects a native implementation provided by the add-on). Discussion on whether include.js should be hosted on AMO or elsewhere is in bug 695739.
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.