Currently Web App is more and more popular with its growing performance. Web App launched as a Web page，it is necessary to distinguish a Web App and a common Web page in some scenarios.Fox example, mobile user wants to get "recent task list" which contains not only the native apps but also the Web Apps by long pressing "Home" button. In such case, the mobile phone should differentiate Web App and common web page in order to avoid falling back on Browser to get recent Web Apps. Another use case is that search service will benefits from the identification of Web page type for it will be more accurate and fast to search Web Apps by filtering out common Web page.
However, it seems that there is no such mark can indicate if a Web page is Web App or not, we suggest two proposals to do it by taking extension to <meta> element.
1.Add an attribute "page-type" for <meta> element to indicate the type of a Web page. If its value is "web app" we identified the Web page as a Web App. if its value is "common-page" or empty we can tell the page is a common web page.
2.Add an attribute "app-type" for <meta> element to classify App type if the page is a Web App. Its value can be "games","news","social","travel","weather","utilities","sports" and so on.This attribute should not be provided unless the attribute "page-type" is signed to "Web page".
Sample for this proposal:
<meta page-type="web-app" app-category="games">
1.Add an attribute "webapp" for <meta> element to indicate whether a web page is Web App or not. The default value is "true" which means the web page is a Web App, and the "false" value means Web page is a common Web page.
2.Add an attribute "app-type" for <meta> element to classify App type if the page is a Web App,its value can be "game","news","social","travel","weather","utilities","sports" and so on.This attribute should not be provided unless the attribute "webapp" is signed to "web page".
Sample for this proposal:
<meta name=”description” content=”Angry Birds”/>
<meta webapp="true" app-type="games">
Before speccing, be sure to research what IE’s taskbar integration, Ubuntu’s Unity integration, iOS homescreen integration, Firefox OS, etc. use.
Actually it’s not very important to distinguish Web App and common web page in PC, for the user can easily select the recently opened Web Apps or common web pages by clicking the tab in the browser. But in mobile phone there is no such convenience because of the limited screen size. So we just focus on mobile platform.
For iOS, when user double-click home button, browser's icon will appear in recent task list(if we just used) but not the Web Apps or web pages in the browser, same problem happens to Android platform when user long press home button.
For Firefox OS, it may differentiate Web App from common web page if the Web App is packaged and installed in OS, but we are not sure whether it can do that for Web Apps opened in browser. Could any member from Mozilla help us to confirm this? we will very appreciate it!
Mass move to "HTML WG"
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the Editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the Tracker Issue; or you may create a Tracker Issue
yourself, if you are able to do so. For more details, see this document:
Change Description: No spec change.
Rationale: There is existing and active work in the WebApps WG and
elsewhere on defining manifest and container formats for Web
applications. OSes and UAs that want to support the requested behavior
can use the presence of such indicators to indicate that the current
page is a Web app. We shouldn't dictate OS behavior here.