-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
Convert to Manifest V3 #136
Conversation
rename chrome.browserAction -> chrome.action include ext/bg.js in sw/main.js (addresses #131) move replay root to ./ from ./replay/ dynamically import sw.js from bg.js, use bg.js as service-worker entrypoint ipfs: add Origin header overrides via declarative-net-request rules, also add as permission via brave-ipfs.json rules bump version to 0.10.0
This is ready to go, but awaiting implementation of 'strong keep-alive' for chrome.debugger APIs: |
@ikreymer I think |
update paths for extension
- use RWP init path for embeds, including init SW - fix embed pacge styling
remove embed data from dist/ readd flexsearch dependency
Converts ArchiveWeb.page to work in Manifest V3
Some caveats:
Currently, the dev build doesn't load due to CSP restrictions (hopefully this will be allowed at some point at least for unpacked extensions, see: https://bugs.chromium.org/p/chromium/issues/detail?id=1159293)chrome-extension://<id>/index.html
instead ofchrome-extension://<id>/replay/index.html
as the service worker registration is no longer needed.Brave IPFS: Using declarativeNetRequest to override Origin header to allow access to local IPFS node (may need more work)not adding for now, since this is being deprecated Deprecate local node support and ipfs:// scheme brave/brave-browser#37735