Skip to content

Commit

Permalink
feat: Firefox Support (#33)
Browse files Browse the repository at this point in the history
* fix(storage): Make storage work on Firefox by setting a addon id (see https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/browser_specific_settings#Firefox_(Gecko)_propertiesfor context)

* fix(fetch): Add api.github.com to permissions array so addon can request data from there in Firefox
  • Loading branch information
janpio authored Feb 20, 2021
1 parent 6ee9e4f commit bcbf701
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"permissions": [
"https://github.com/*/*",
"https://api.github.com/*",
"storage",
"identity"
],
Expand Down Expand Up @@ -41,5 +42,10 @@
"options_ui": {
"page": "options.html",
"chrome_style": true
},
"applications": {
"gecko": {
"id": "contributors-on-github@hzoo.github.com"
}
}
}

0 comments on commit bcbf701

Please sign in to comment.