Handle special URLs, avoid hard coding #473
Labels
discussion
Needs further discussion
enhancement
Enhancement or change to an existing feature
follow-up: chrome
Needs a response from a Chrome representative
follow-up: safari
Needs a response from a Safari representative
supportive: firefox
Supportive from Firefox
In browsers, there are some common URLs that developers(users) want to open or detect. Currently developers can only hardcode these URLs. But different browsers may have significant differences.
The goal of this issue: It would be helpful if there was a consistent way to judge or open these URLs without hardcode.
This issue covers #470 which is just one of these special URLs.
chrome://newtab/
Edge
edge://newtab/
Opera
chrome://startpageshared/
Vivaldi
chrome://vivaldi-webui/startpage
topsites:// (Legacy)
Some use cases:
Another special case: the extension's store link or review link. Developers have recently discussed it. The link needs to be modified to a specific store link before each release. It is best that browsers support open this page (if the extension is not from a store like unpacked extensions or self hosted extensions, just ignore it or throw error).
To solve these problems, a flexible API is needed, and different browsers can support parts of functions.
The text was updated successfully, but these errors were encountered: