I have ported a Chrome FireFox extension.
One of the things that does not work is receiving message from background to a options page (safari-web-extension://<id>/page.html)
I dont get a error message or any details back from the promise.
Any idea where this goes wrong?
Background:
browser.tabs.sendMessage(tab.id, { message });
Options page:
browser.runtime.onMessage.addListener(message => {
console.log(message);
});
Post
Replies
Boosts
Views
Activity
I have updated my web extension to use Manifest v3.
While trying to test, I get the error:
_The service_worker script failed to load due to an error.
_
I do not see details on the error, or a place where to find details. Any suggestions?