Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upCreate a new WebExtension API/permission: Provide API to sites #643
Comments
|
Dan, thanks for filing. Has anyone tried getting Google's attention on such an API for extensions being added? Thanks. |
|
No, I don't think we've filed for Google's attention on this yet, although we did have some discussions with Mozilla a while back: https://bugzilla.mozilla.org/show_bug.cgi?id=1319168 (Not the exact topic but on the same domain) |
|
Another discussion on this topic is here: MetaMask/metamask-extension#813 (comment) We thought maybe the |
|
Actually maybe we need to revisit this on the MetaMask side. Looks like the Here's the Chromium discussion on that topic: |
At MetaMask, we use the WebExtension "read and write data on all sites you visit" permission for the unusual purpose of providing an additional API to sites a user visits.
A downside of this is that security-conscious users are nervous about approving such all-encompassing permissions, and in fact if our distribution system were compromised, the potential impacts could be large.
Long term, we probably need to be simply integrated into browsers. But medium term, we would greatly benefit from a new WebExtension API & accompanying permission that explicitly only provides an API to sites.
Such a permission would not:
This permission would only:
windowobject.