Home> Common Problem> body text

Web apps can now use protocol handlers in Microsoft Edge

WBOY
Release: 2023-05-21 21:40:49
forward
1337 people have browsed it
  • Click to enter:ChatGPT tool plug-in navigation list

Web 应用现在可以在 Microsoft Edge 中使用协议处理程序

Microsoft announced that starting from Microsoft Edge 96, Web applications You will now be able to use protocol handlers in Microsoft Edge. Installed web applications (or PWAs) will have new capabilities to navigate to preset or custom protocols. After installation, a web application can be registered as a protocol handler to be launched when a specific protocol is called.

If your web application is able to register as a protocol handler, it will "better integrated with the operating system and can be set to open specific protocols." It can also be set as the default handler, which means that if you are developing a web application that is an email client, you can give the user the option to make it the default application for generating new emails.

Another method is to register a protocol prefixed with web, so that you can create a web application with the ability to manage custom solutions. It can serve as a useful resource in case you need to browse a URL that fails to comply with the requirements of the "safelist scheme set".

According to the press release, in order to register your installed web application as a protocol handler, you need to use the protocol_handlers field in the manifest file. If the protocol handler field in the manifest is available, in which case the web application will register during installation as a protocol handler for the protocols defined in the collection.

The protocol handler supports Windows, Linux and Mac operating systems. The press release mentions that Microsoft has "contributed this work to the Chromium open source project" and that the feature will be available in other Chromium-based browsers as well.

The above is the detailed content of Web apps can now use protocol handlers in Microsoft Edge. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yundongfang.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!