Protocol handlers are now available for web apps in Microsoft Edge

Just in case you’re wondering what else is going on behind the scenes at Microsoft, the company just announced that web apps will now be able to use protocol handlers in Microsoft Edge starting with Microsoft Edge 96. This latest feature will allow installed web apps, also known like a PWA, navigate through pre-installed or custom protocols.

In addition, already installed web applications will also be able to register with the operating system as protocol handlers and be initiated when a specific protocol is invoked.

Web apps in Edge can use protocol handlers

Yes, if your web application has the ability to register as protocol handlers, it will have better integration with the operating system and can be programmed to open specific protocols.

In addition, it can be set as the default handler, which means that if you are developing a web application that is an email client, you can give users the option to make it the default application for composing new emails.

Note that you can create custom schemas that your web application can manage by registering protocols with the web+ prefix.

For example, the Redmond-based tech giant uses  PWinter PWA , an installable web application that allows the user to create custom PWA logos by choosing 3 colors.

"protocol_handlers": [
   {
    "protocol": "web+pwinter",
    "url": "index.html?colors=%s"
   }
  ]

According to the Microsoft documentation, to register an installed web application as a protocol handler, you must use the protocol handlers field in the  manifest file .

However, if the protocol handlers field is available in the manifest, then the web application will be registered as a protocol handler for the protocols defined in the collection during installation.

These protocol handlers offer support for Windows, Linux, and Mac, and Microsoft has also said it has contributed to the Chromium open source project, and the feature is available on other Chromium-based browsers as well.

Remember that soon we will also be able to more easily follow our favorite authors in the Edge browser.

Excited about this new Edge feature? Share your thoughts with us in the comments section below.