Open Jyyjy opened 6 months ago
wanna contribute to this issue
i am now targeting chrome
This is a pretty large ticket. Make sure to test your changes withnpm test
. You will have to change how playwright, the extension testing framework, loads the extension here:
https://github.com/apache/flagon-useralejs/blob/master/test/e2e/spec/fixtures/extension.fixture.ts
According to the documentation here: https://playwright.dev/docs/chrome-extensions
This guide offers some best practices on building a cross browser extension. Including an example of how to remedy the differences of service workers and background scripts, which has been what is holding back MV3.
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Build_a_cross_browser_extension
Edit: I only plan on targeting Chrome and Firefox. But I encourage others to add support for their favorite browsers.