0

Since manifest version 3, background scripts (now known as service workers) aren’t persistent, so I can’t think of a way to register a listener (e.g. web socket) that will receive notifications from my server.

I read about the chrome.gcm API, but I understand GCM is deprecated (and unusable) in favor of FCM.

Is it possible in any way to send messages from my server to my Chrome extension?

Cauthon
  • 592
  • 1
  • 4
  • 15
  • 1
    No, MV3 has broken all such extensions and no one knows if a fix will be available before MV2 dies. Meanwhile the only workaround is to force the worker to be alive, [more info](/q/66618136/). – wOxxOm Jan 04 '22 at 11:35
  • @wOxxOm that’s terrible.. thanks for the info! – Cauthon Jan 04 '22 at 11:52

0 Answers0