Closed Bug 830618 Opened 8 years ago Closed 7 years ago
Defect - Give site authors the ability to link Windows store apps w/ their page for IE10 parity
IE10 can link HTML5 app w/ a page, "Get app for this site". This would probably add a menu item to one of the appbar icons. <meta name="msApplication-ID" content="App"/> <meta name="msApplication-PackageFamilyName" content="ZeptoLabUKLimited.CutTheRope_sq9zxnwrk84pj"/>
There is text needed for the menu "Get app for this site" so if we want this later it can't be uplifted past mozilla-central. Attached a screenshot of how it looks in IE.
kjozwiak this is probably a good bug for you if you're interested. I think we'd just show/hide the menu item depending on if the site has meta tags in it. See the attachment image in Comment 1. You'd check for these meta tags "msApplication-ID", and "msApplication-PackageFamilyName" which look like this in the head of the current page: <meta name="msApplication-ID" content="microsoft.build.App" /> <meta name="msApplication-PackageFamilyName" content="microsoft.build_8wekyb3d8bbwe"/> And if they exist, then you'd selectively show/hide the menu item in the appbar settings icon. If the menu is clicked you'd open the link, something like this: location.href = "ms-windows-store:PDP?PFN=microsoft.build_8wekyb3d8bbwe"
Sounds good, thanks Brian! Appreciate it. I will start this one when I am finished with Bug 885383 which should be completed by this week.
Assignee: nobody → kamiljoz
Summary: Give site authors the ability to link Windows store apps w/ their page for IE10 parity → Defect - Give site authors the ability to link Windows store apps w/ their page for IE10 parity
Whiteboard: [preview-triage] → [preview-triage] feature=defect c=tbd u=tbd p=0
We'd really really like a patch, but won't block on this. :)
Whiteboard: [preview-triage] feature=defect c=tbd u=tbd p=0 → feature=defect c=tbd u=tbd p=0
work in progress: code to detect meta tags
Attached current WIP
Went through testing and everything seems like its working: - Ensured that the menu item doesn't appear when the meta data isn't found (tried several popular websites) - Ensured that the menu item appeared correctly when the appropriate meta data was found - Ensured that clicking on the menu item took the user to the MS store and displayed the correct application - Ensured that the other menu items still worked without any issues You can use this page that I created for testing: https://s3.amazonaws.com/coding/METAdisabled.html
Forgot to add the page that has META data, this will open the "Cut the Rope" game in the MS store: https://s3.amazonaws.com/coding/METAenabled.html
Yuan, please let me know if you would like this changed. Used the same label as the original screenshot Brian added.
Attachment #810340 - Flags: ui-review?(ywang)
Attachment #810336 - Flags: review?(jmathies) → review+
Jim, could you push to the try server?
Attachment #810340 - Flags: ui-review?(ywang) → ui-review+
Whiteboard: feature=defect c=tbd u=tbd p=0 → feature=defect c=tbd u=tbd p=0[fixed-in-fx-team]
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Whiteboard: feature=defect c=tbd u=tbd p=0[fixed-in-fx-team] → feature=defect c=tbd u=tbd p=0
Target Milestone: --- → Firefox 27
You need to log in before you can comment on or make changes to this bug.