You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- text: Using Service Workers # or "Service Worker API"
147
+
url: https://developer.mozilla.org/docs/Web/API/Service_Worker_API/Using_Service_Workers # or https://developer.mozilla.org/docs/Web/API/Service_Worker_API
148
148
149
-
- text: Web app manifests # was local link: Use a web app manifest to integrate a PWA into the OS
- text: The web app manifest # or "Web app manifests"
150
+
url: https://developer.mozilla.org/docs/Web/Progressive_web_apps/Guides/Making_PWAs_installable#the_web_app_manifest # or https://developer.mozilla.org/docs/Web/Manifest
Copy file name to clipboardExpand all lines: microsoft-edge/devtools-guide-chromium/whats-new/2021/04/devtools.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -127,7 +127,8 @@ To view errors and warnings in your Web App Manifest, select **Application** too
127
127
For real-time updates on this feature in the Chromium open-source project, see Issue [1185945](https://crbug.com/1185945).
128
128
129
129
See also:
130
-
*[Web app manifests](https://developer.mozilla.org/docs/Web/Manifest) at MDN.
130
+
*[The web app manifest](https://developer.mozilla.org/docs/Web/Progressive_web_apps/Guides/Making_PWAs_installable#the_web_app_manifest) in _Making PWAs installable_ at MDN > References > Progressive web apps > Guides.
131
+
*[Web app manifests](https://developer.mozilla.org/docs/Web/Manifest) at MDN > References.
131
132
*[PWABuilder: Image Generator](https://www.pwabuilder.com/imageGenerator) - creates app icons for various platforms, to include in your Web App Manifest.
- text: Using Service Workers # or "Service Worker API"
264
+
url: https://developer.mozilla.org/docs/Web/API/Service_Worker_API/Using_Service_Workers # or https://developer.mozilla.org/docs/Web/API/Service_Worker_API
265
265
itemType: reference
266
266
267
-
- text: Web app manifests # was local link: Use a web app manifest to integrate a PWA into the OS
- text: The web app manifest # or "Web app manifests"
268
+
url: https://developer.mozilla.org/docs/Web/Progressive_web_apps/Guides/Making_PWAs_installable#the_web_app_manifest # or https://developer.mozilla.org/docs/Web/Manifest
Copy file name to clipboardExpand all lines: microsoft-edge/progressive-web-apps-chromium/how-to/best-practices.md
+75-15Lines changed: 75 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,9 +24,9 @@ Your app can already be installed using the **App available** button in the brow
24
24
25
25
A custom installation experience, in the app user interface, can be more obvious to your users and lead to more installations.
26
26
27
-
To create a custom installation experience, use the [`beforeinstallprompt`](https://developer.mozilla.org/docs/Web/API/Window/beforeinstallprompt_event) event and provide your own installation button in your app.
27
+
To create a custom installation experience, use the [beforeinstallprompt](https://developer.mozilla.org/docs/Web/API/Window/beforeinstallprompt_event) event and provide your own installation button in your app.
28
28
29
-
To see a code example of the `beforeinstallprompt` event, check the [PWAmp demo app source code](https://github.com/MicrosoftEdge/Demos/blob/main/pwamp/app.js). To test the custom installation, open [PWAmp](https://microsoftedge.github.io/Demos/pwamp/), then click **More tools** (`...`) > **About** > **Install app** in the app.
29
+
To see a code example of the `beforeinstallprompt` event, check the [PWAmp demo source code](https://github.com/MicrosoftEdge/Demos/blob/main/pwamp/app.js). To test the custom installation, open the [PWAmp demo](https://microsoftedge.github.io/Demos/pwamp/), and then click **More tools** (`...`) > **About** > **Install app** in the app.
@@ -126,10 +126,11 @@ You can provide a good offline experience in several steps:
126
126
1. Implement advanced scenarios such as letting users download data for offline viewing.
127
127
128
128
See also:
129
+
*[Synchronize and update a PWA in the background](./background-syncs.md).
130
+
*[Using Service Workers](https://developer.mozilla.org/docs/Web/API/Service_Worker_API/Using_Service_Workers) at MDN > References > Web APIs > Service Worker API > Guides.
129
131
*[Service Worker API](https://developer.mozilla.org/docs/Web/API/Service_Worker_API) at MDN > References > Web APIs.
130
132
*[FetchEvent](https://developer.mozilla.org/docs/Web/API/FetchEvent) at MDN > References > Web APIs > Service Worker API.
131
133
*[Cache](https://developer.mozilla.org/docs/Web/API/Cache) at MDN > References > Web APIs > Service Worker API.
132
-
*[Synchronize and update a PWA in the background](./background-syncs.md).
@@ -154,13 +155,13 @@ Installed apps typically perform advanced computing scenarios that websites usua
154
155
155
156
To provide an app-like experience, use advanced web capabilities such as:
156
157
157
-
* Hardware access with the [Web Bluetooth](https://developer.mozilla.org/docs/Web/API/Web_Bluetooth_API), [Web USB](https://developer.mozilla.org/docs/Web/API/USB), or [Web NFC](https://developer.mozilla.org/docs/Web/API/Web_NFC_API) APIs.
158
+
* Hardware access with the [Web Bluetooth API](https://developer.mozilla.org/docs/Web/API/Web_Bluetooth_API), [USB](https://developer.mozilla.org/docs/Web/API/USB) (WebUSB API), or [Web NFC API](https://developer.mozilla.org/docs/Web/API/Web_NFC_API).
158
159
* Clipboard access with the [Clipboard API](https://developer.mozilla.org/docs/Web/API/Clipboard_API).
159
160
* Device contacts integration with the [Contact Picker API](https://developer.mozilla.org/docs/Web/API/Contact_Picker_API).
160
-
* Rich media interactions with [Canvas](https://developer.mozilla.org/docs/Web/API/Canvas_API), [WebGL](https://developer.mozilla.org/docs/Web/API/WebGL_API), or [WebAudio](https://developer.mozilla.org/docs/Web/API/Web_Audio_API) APIs.
161
-
* Safe and trusted authentication and payment with [WebAuthn](https://webauthn.guide/) and [Payment Request](https://developer.mozilla.org/docs/Web/API/Payment_Request_API) APIs.
161
+
* Rich media interactions with the [Canvas API](https://developer.mozilla.org/docs/Web/API/Canvas_API), [WebGL: 2D and 3D graphics for the web](https://developer.mozilla.org/docs/Web/API/WebGL_API) (WebGL API), or [Web Audio API](https://developer.mozilla.org/docs/Web/API/Web_Audio_API).
162
+
* Safe and trusted authentication and payment with the [WebAuthn API](https://webauthn.guide/) and [Payment Request API](https://developer.mozilla.org/docs/Web/API/Payment_Request_API).
162
163
* Non-trivial computing tasks with [WebAssembly](https://developer.mozilla.org/docs/WebAssembly).
163
-
* Reading and writing to files with the [File System Access API](https://developer.mozilla.org/docs/Web/API/File_System_Access_API).
164
+
* Reading and writing to files with the [File System API](https://developer.mozilla.org/docs/Web/API/File_System_Access_API).
164
165
165
166
Ensure your app's most important tasks can be done across all browsers and devices. See [Test on multiple browsers and devices](#test-on-multiple-browsers-and-devices).
166
167
@@ -177,11 +178,11 @@ To let your users achieve your app's most important tasks easily and in a famili
177
178
* Use the `system-ui` font to make your content feel more native and load faster.
178
179
* Use less links, and prefer bigger hit targets.
179
180
* Support the operating system's light and dark themes by using the [prefers-color-scheme](https://developer.mozilla.org/docs/Web/CSS/@media/prefers-color-scheme) CSS media feature.
180
-
* Provide a `background-color` and `theme-color` in your [web app manifest](https://developer.mozilla.org/docs/Web/Manifest) to customize the application window.
181
+
* Provide a `background-color` and `theme-color` in your web app manifest to customize the application window. See [Web app manifests](https://developer.mozilla.org/docs/Web/Manifest).
181
182
* Focus on the most important tasks, de-clutter de content, and streamline the user interface.
182
-
* Re-organize the user interface based on the device's form factor, by using CSS [grid](https://developer.mozilla.org/docs/Web/CSS/CSS_Grid_Layout), [Flexbox](https://developer.mozilla.org/docs/Web/CSS/CSS_Flexible_Box_Layout), [Media queries](https://developer.mozilla.org/docs/Web/CSS/Media_Queries), and [Responsive images](https://developer.mozilla.org/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images).
183
+
* Re-organize the user interface based on the device's form factor, by using [CSS grid layout](https://developer.mozilla.org/docs/Web/CSS/CSS_Grid_Layout), [CSS flexible box layout](https://developer.mozilla.org/docs/Web/CSS/CSS_Flexible_Box_Layout) (flexbox), [CSS media queries](https://developer.mozilla.org/docs/Web/CSS/Media_Queries), and [Responsive images](https://developer.mozilla.org/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images).
183
184
* Improve perceived performance by registering user interactions immediately.
184
-
* Consider using [skeleton screens](https://css-tricks.com/building-skeleton-screens-css-custom-properties/) if rendering the next screen takes time.
185
+
* Consider using skeleton screens, if rendering the next screen takes time. See [Building Skeleton Screens with CSS Custom Properties](https://css-tricks.com/building-skeleton-screens-css-custom-properties/).
*[Emulate and test other browsers](../../devtools-guide-chromium/device-mode/testing-other-browsers.md) from Microsoft Edge, by using DevTools.
198
199
* Create a remote debugging session on [Windows](../../devtools-guide-chromium/remote-debugging/windows.md) or [Android](../../devtools-guide-chromium/remote-debugging/index.md).
199
200
*[Test and automation in Microsoft Edge](../../test-and-automation/test-and-automation.md) to automate your testing.
200
-
* Test on [virtual machines](https://developer.microsoft.com/microsoft-edge/tools/).
201
+
* Test on [virtual machines](https://developer.microsoft.com/microsoft-edge/tools/).<!-- todo: redirects to https://developer.microsoft.com/en-us/microsoft-edge/tools/?cs=2233647189&form=MA13LH - vm not listed -->
To improve discovery and sharing of your app through the web and social media, route each page of your app to a unique URL and support [deep linking](https://wikipedia.org/wiki/Deep_linking).
207
+
To improve discovery and sharing of your app through the web and social media, route each page of your app to a unique URL and support [Deep linking](https://wikipedia.org/wiki/Deep_linking).
*[Define app shortcuts (long-press or right-click menus)](./shortcuts.md)
222
+
*[Display a badge on the app icon](./notifications-badges.md#display-a-badge-on-the-app-icon) in _Re-engage users with badges, notifications, and push messages_.
223
+
*[Display a PWA widget in the Windows Widgets Board](./widgets.md)
224
+
*[Display content in the title bar area using Window Controls Overlay](./window-controls-overlay.md)
225
+
*[Get started with PWAs](./index.md)
226
+
*[Handle files in a PWA](./handle-files.md)
227
+
*[Handle links to a PWA](./handle-urls.md)
228
+
*[Handle protocols in a PWA](./handle-protocols.md)
229
+
*[Icon image sizes](./icon-theme-color.md#icon-image-sizes) in _Define icons and a theme color_.
230
+
*[Publish a PWA to the Microsoft Store](./microsoft-store.md)
231
+
*[Share content with other apps](./share.md)
232
+
*[Store data on the device](./offline.md)
233
+
*[Synchronize and update a PWA in the background](./background-syncs.md)
234
+
*[Test and automation in Microsoft Edge](../../test-and-automation/test-and-automation.md)
235
+
236
+
Local: DevTools:
237
+
*[Emulate and test other browsers](../../devtools-guide-chromium/device-mode/testing-other-browsers.md)
*[CSS grid layout](https://developer.mozilla.org/docs/Web/CSS/CSS_Grid_Layout) at MDN > References > CSS.
253
+
*[CSS media queries](https://developer.mozilla.org/docs/Web/CSS/Media_Queries) at MDN > References > CSS.
254
+
*[Payment Request API](https://developer.mozilla.org/docs/Web/API/Payment_Request_API) at MDN > REferences > Web APIs.
255
+
*[prefers-color-scheme](https://developer.mozilla.org/docs/Web/CSS/@media/prefers-color-scheme) at MDN > References > CSS > @media.
256
+
*[Responsive images](https://developer.mozilla.org/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images) at MDN > Guides > HTML > Multimedia and embedding.
257
+
*[Service Worker API](https://developer.mozilla.org/docs/Web/API/Service_Worker_API) at MDN > References > Web APIs.
258
+
*[Using Service Workers](https://developer.mozilla.org/docs/Web/API/Service_Worker_API/Using_Service_Workers) at MDN > References > Web APIs > Service Worker API > Guides.
259
+
*[Web app manifests](https://developer.mozilla.org/docs/Web/Manifest) at MDN > References.
260
+
*[Web Bluetooth API](https://developer.mozilla.org/docs/Web/API/Web_Bluetooth_API) at MDN > References > Web APIs.
261
+
*[Web NFC API](https://developer.mozilla.org/docs/Web/API/Web_NFC_API) at MDN > References > Web APIs.
262
+
*[USB](https://developer.mozilla.org/docs/Web/API/USB) at MDN > References > Web APIs > WebUSB API.
263
+
*[WebAssembly](https://developer.mozilla.org/docs/WebAssembly) at MDN.
264
+
*[Web Audio API](https://developer.mozilla.org/docs/Web/API/Web_Audio_API) at MDN > References > Web APIs.
265
+
*[WebGL: 2D and 3D graphics for the web](https://developer.mozilla.org/docs/Web/API/WebGL_API) (WebGL API) at MDN > References > Web APIs.
*[Building Skeleton Screens with CSS Custom Properties](https://css-tricks.com/building-skeleton-screens-css-custom-properties/)
277
+
*[virtual machines](https://developer.microsoft.com/microsoft-edge/tools/)<!-- todo: redirects to https://developer.microsoft.com/en-us/microsoft-edge/tools/?cs=2233647189&form=MA13LH - vm not listed -->
A _web app manifest_ is a JSON file containing metadata about your app, such as its name, description, icons, and the various operating system features it uses. For details, see [Web app manifests](https://developer.mozilla.org/docs/Web/Manifest) at MDN.
127
+
A _web app manifest_ is a JSON file containing metadata about your app, such as its name, description, icons, and the various operating system features it uses.
128
+
129
+
See:
130
+
* [The web app manifest](https://developer.mozilla.org/docs/Web/Progressive_web_apps/Guides/Making_PWAs_installable#the_web_app_manifest) in _Making PWAs installable_ at MDN > References > Progressive web apps > Guides.
131
+
* [Web app manifests](https://developer.mozilla.org/docs/Web/Manifest) at MDN > References.
Copy file name to clipboardExpand all lines: microsoft-edge/progressive-web-apps-chromium/how-to/sidebar.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,11 @@ By signaling intent to be pinned to the sidebar, your PWA gets the following ben
26
26
27
27
To make your PWA ready for pinning to the sidebar in Microsoft Edge, use the `edge_side_panel` manifest member:
28
28
29
-
1. Make sure your PWA has a web app manifest file that contains at least the `name`, `short_name`, `description`, and `icons` members. For details, see [Web app manifests](https://developer.mozilla.org/docs/Web/Manifest) at MDN.
29
+
1. Make sure your PWA has a web app manifest file that contains at least the `name`, `short_name`, `description`, and `icons` members.
30
+
31
+
For details, see:
32
+
*[Web app manifests](https://developer.mozilla.org/docs/Web/Manifest) at MDN.
33
+
*[The web app manifest](https://developer.mozilla.org/docs/Web/Progressive_web_apps/Guides/Making_PWAs_installable#the_web_app_manifest) in _Making PWAs installable_ at MDN > References > Progressive web apps > Guides.
30
34
31
35
1. Add the `edge_side_panel` member to your web app manifest. For example:
Copy file name to clipboardExpand all lines: microsoft-edge/progressive-web-apps-chromium/how-to/window-controls-overlay.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,8 +40,9 @@ First, enable the Window Controls Overlay feature in your app's web app manifest
40
40
```
41
41
42
42
See also:
43
-
*[display_override](https://developer.mozilla.org/docs/Web/Manifest/display_override) at MDN.
44
-
*[Web app manifests](https://developer.mozilla.org/docs/Web/Manifest) at MDN.
43
+
*[display_override](https://developer.mozilla.org/docs/Web/Manifest/display_override) at MDN > References > Web app manifests.
44
+
*[Web app manifests](https://developer.mozilla.org/docs/Web/Manifest) at MDN > References.
45
+
*[The web app manifest](https://developer.mozilla.org/docs/Web/Progressive_web_apps/Guides/Making_PWAs_installable#the_web_app_manifest) in _Making PWAs installable_ at MDN > References > Progressive web apps > Guides.
0 commit comments