Home  >  Article  >  Edge Canary gets link handling for web applications

Edge Canary gets link handling for web applications

WBOY
WBOYforward
2023-04-29 16:22:071655browse

Microsoft’s latest version, Edge Canary, brings a new and notable feature to progressive web applications. Users can enable a new experimental flag to let PWAs "handle" links. In other words, you can open links from other programs directly in the relevant web application without launching a browser.

Here's an example of how this feature works: You receive a message in Telegram with a YouTube link. You click the link and Windows opens it in the YouTube PWA instead of the browser.

Edge Canary 获得 Web 应用程序的链接处理

To enable link handling for Progressive Web Apps:

  1. Update Microsoft Edge Canary to the latest version. You can download Edge Canary from the official Edge Insider website.
  2. Make sure Edge Canary is your default browser. If you're using Windows 11 22H2, here's how to change your default browser with a single click.
  3. Install web apps, such as YouTube or Reddit, by clicking the button in the address bar.
    Edge Canary 获得 Web 应用程序的链接处理
  4. Go to edge://flags/#edge-webapp-link-handling and select enable.
    Edge Canary 获得 Web 应用程序的链接处理
  5. Restart the browser.
  6. Go to edge://apps, find the web app you need, and click Details.
    Edge Canary 获得 Web 应用程序的链接处理
  7. Open Link processing switch.
    Edge Canary 获得 Web 应用程序的链接处理
  8. # Try opening a link to a website installed as a web application.

It's worth noting that the link handling functionality has some quirks. For example, Edge Canary cannot open a shareable YouTube link ( youtu.be ) in a PWA, but launches the web app with a regular youtube.com link without issue.

Additionally, the new flag does not affect how Edge works with sites installed as applications. There's a difference between full-blown progressive web apps (the ones Edge lets you install from the address bar) and websites that just open in a dedicated window. Currently, Edge cannot open external links in websites installed as applications. Instead, the browser starts as usual and opens the link in a regular tab.

The above is the detailed content of Edge Canary gets link handling for web applications. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yundongfang.com. If there is any infringement, please contact admin@php.cn delete