Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manifest V3 migration #96

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

volklord
Copy link

An attempt to fix #95

There are minor changes made to make the extension compatible with MV3:

  1. Use service_worker key instead of scripts.
  2. Renamed the file background.js to service_worker.js. Not strictly required, but to make clear that background in the sense of MV2 isn't a thing anymore.
  3. In the permissions key, <all_urls> isn't recognized/valid; use tabs instead.

- Manifest V3 uses `background.service_worker` instead of `background.scripts` key.
- ` "<all_urls>"` isn't recognized in V3 permissions; replace it with "tabs".
- Increment the version to reflect the changes.
Rename the file to match the change in manifest.json
The file is just background.js renamed to match the change in manifest.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Manifest V3 migration
1 participant