- From: Jackie Han <notifications@github.com>
- Date: Tue, 17 Aug 2021 03:01:40 -0700
- To: w3c/manifest <manifest@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 17 August 2021 10:01:53 UTC
(I originally posted a related issue at [manifest-incubations](https://github.com/WICG/manifest-incubations/issues/23)) Although there is a scope concept in service worker and manifest file, **for URLs in the scope**, developers need a way to tell the browser which URLs can be regarded as the app and which URLs are not. Why need to tell browser this information? <img width="333" alt="install" src="https://user-images.githubusercontent.com/776467/129702587-3f3f6167-6c09-4b56-96d6-99bfadd02a8a.png"> <img width="340" alt="launch" src="https://user-images.githubusercontent.com/776467/129702593-2ff9b252-7e64-481f-8c37-5a765bbb32a9.png"> As shown in the screenshots above, Chrome address bar has install/launch icon for installing and launching the app. But not all URLs in the origin/scope should be regarded as the app. For example, help pages of the app should be opened as web pages in the browser, rather than load them into the app. A core concept: whether a URL in the scope should be treated as the app. - For a web page url, it should not be loaded in the (standalone installed) app, it should be opened in the browser. - For an app url, it can be loaded in the app. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/manifest/issues/996
Received on Tuesday, 17 August 2021 10:01:53 UTC