MicrosoftEdge / MicrosoftEdge/MSEdgeExplainers

[Web Install] Unrestricted Variant for WebExtensions

Open
#954 1 comment 0 reactions 1 assignee View on GitHub

@diekus is already working on this.

Since Feb 6, 2025.

Web Install API
Dominant language
HTML
Stars
1.4k
Forks
286
Avg merge
3d 1h
Merged PRs (30d)
8

Description

Currently, WebExtensions are not able to programmatically install PWAs.

They can however, generate a shortcut using chrome.management.generateAppForLink(URL, title), which was introduced prior to the introduction of Web manifests. It uses the "management" permission. Unfortunately, this API doesn't consider the manifest or its contained preferences.

This situation is not ideal, and unfortunately investment in the extensions platform has always been inadequate. But this API presents an opportunity to also improve extensions.

While the regular version of this API would be usable in extensions, a few changes would bring major improvements. These are centered around relaxing the permissions model.

  • extension "management" permission should automatically grant this API's permission
  • user gesture and foreground requirements should be waived
  • confirmation dialog should be skipped
  • getInstalledApps() should return all PWAs regardless of how they were installed
  • anything else I missed

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.