WebExtensions & Progressive Web Apps

Are WebExtensions loaded and reachable (communicate-able) from device-installed PWAs (Progressive Web App) in Firefox for Android?

1 Like

I don’t know too much about PWAs, but they are basically websites with a ServiceWorker to provide background and offline capabilities, right?

So when such a website has a tab open, content scripts of extensions should be injected (like they are on every other page).

But I think that’s it.

You could experiment with embedding a frame of the site in your background page (to have something to communicate with even if the site has no tabs open) or intercepting the web workers HTTP requests.

I think this question is about pages pinned to the homescreen on android, which open without any browser shell. This is very similar to Chrome Custom Tabs afaik.

And as we had discussed on IRC a couple times already, it probably works (As in content scripts should be injected), but nobody really knows.