-
-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: upgrade to manifest v3 (#186)
* 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
1 parent
da47e34
commit aac7ae1
Showing
8 changed files
with
4,440 additions
and
13,789 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,5 @@ node_modules/ | |
.cache/ | ||
.parcel-cache/ | ||
dist/ | ||
|
||
.DS_Store/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]" | ||
|
@@ -32,5 +27,10 @@ | |
"id": "[email protected]" | ||
} | ||
}, | ||
"web_accessible_resources": ["*.js.map"] | ||
"web_accessible_resources": [ | ||
{ | ||
"resources": ["*.js.map"], | ||
"matches": ["<all_urls>"] | ||
} | ||
] | ||
} |
Oops, something went wrong.