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

Chrome manifest v3 updates #19

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from
Draft

Conversation

edamboritz
Copy link

This PR updates the code of the Torah Tab extension to comply with Google V3 Manifest requirements.

It mainly consisted of updating the manifest file according to the instructions at https://developer.chrome.com/docs/extensions/develop/migrate/manifest and updating the code.

Most of the code didnt seem to need changes, including main.js and dataApi.js, though the latter had some syntax changes made to some local storage calls to make it more modern.

background.js was updated to simplify out old legacy code and rework it as a service worker, making sure there are no invalid calls there.

…come ERR_OSSL_EVP_UNSUPPORTED build error due to node version being too new
This is not strictly required for V3 Chrome Extension, but it is the more modern way of handling calls to the async local storage API
…dards

main changes were:

Removal of the oldChromeVersion checks and related code
Simplification of the alarm handling
Changes to the initialization and startup logic
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.

1 participant