Skip to content

Commit

Permalink
chore: upgrade to manifest v3 (#186)
Browse files Browse the repository at this point in the history
* chore: update manifest to v3

* chore: use new scripting api to execute content scripts

* chore: execute hookContent from service worker instead of contentScript

* chore: use fetch instead of axios

* fix: fix multipart/formdata not working properly

* chore: use AbortController instead of cancelToken to cancel request

* chore: bump extension version

* chore: bump parcel and delete .DS_Store

---------

Co-authored-by: Andrew Bastin <[email protected]>
  • Loading branch information
amk-dev and AndrewBastin authored Sep 18, 2023
1 parent da47e34 commit aac7ae1
Show file tree
Hide file tree
Showing 8 changed files with 4,440 additions and 13,789 deletions.
Binary file removed .DS_Store
Binary file not shown.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ node_modules/
.cache/
.parcel-cache/
dist/

.DS_Store/
24 changes: 12 additions & 12 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,22 @@
{
"manifest_version": 2,
"manifest_version": 3,
"name": "Hoppscotch Browser Extension",
"version": "0.25",
"version": "0.26",
"description": "Provides more capabilities for Hoppscotch",
"icons": {
"16": "icons/icon-16x16.png",
"48": "icons/icon-48x48.png",
"128": "icons/icon-128x128.png"
},
"background": {
"scripts": [ "index.js" ],
"persistent": false
"service_worker": "index.js"
},
"browser_action": {
"action": {
"default_title": "Hoppscotch Extension",
"default_popup": "popup.html"
},
"permissions": [
"storage",
"tabs",
"cookies",
"<all_urls>"
],
"permissions": ["storage", "tabs", "cookies", "scripting"],
"host_permissions": ["<all_urls>"],
"applications": {
"gecko": {
"id": "[email protected]"
Expand All @@ -32,5 +27,10 @@
"id": "[email protected]"
}
},
"web_accessible_resources": ["*.js.map"]
"web_accessible_resources": [
{
"resources": ["*.js.map"],
"matches": ["<all_urls>"]
}
]
}
Loading

0 comments on commit aac7ae1

Please sign in to comment.