For everyone dealing with this issue, keep in mind even in mv3 one can use a non-persistent debug-able background page. To do so, use this type of declaration:
{
"background": {
"service_worker": "background.js",
"scripts": ["background.js"]
}
}
This will use a serviceWorker in Chrome, while it will use a background script in Safari and Firefox.
Topic:
Safari & Web
SubTopic:
General
Tags: