Migrate to Manifest V3#365
Conversation
|
@tulios could this be reviewed please? |
|
Excellent job, @neavns! |
|
Hey @luizgununes, good catch! I was using |
|
Great, @neavns! I was wondering here, since this original repository is under the MIT license, there's no problem if you or I update the manifest, like you already did, and reupload it to the Chrome Web Store, keeping the original license and name of the owner of the original code, which is @tulios, who seems to be a bit away from the web. I have a developer account. If you want, I can upload your fix. |
|
@luizgununes Looks like someone had the exact same idea here 😄 So perhaps this PR is no longer needed, although it would be nice to maintain the original source code. |
|
good work, hoping it accepted. |
|
What's the other way? Download, build, and load unpacked? |
JSON Viewer Migration to Manifest V3
Overview
As you’re likely aware, the current extension has stopped working due to its reliance on an outdated manifest version, which is no longer supported on the Chrome Web Store. This PR updates the extension to Manifest V3.
Key Changes
Manifest File Updates
manifest_versionfrom 2 to 3background.scriptswithbackground.service_workerweb_accessible_resourcesto use the new object format withresourcesandmatchespropertiespermissionsthat are now considered host permissions with entries in the newhost_permissionsarrayBackground Script Changes
return trueto message listeners to keep the message channel open for async responsesStorage API Usage
Content Security Policy
Theme Loading
web_accessible_resourceslistOmnibox Functionality
Build Process Changes
Housekeeping
promisealwaysFoldtypo 😉Thanks for this amazing extension @tulios 🙂