0

Hi I am trying to access run some background script in an chrome extension build using react how can I register a service worker to do so?

  • There's no need to register it. Just declare it in manifest.json as shown in the [documentation](https://developer.chrome.com/docs/extensions/mv3/service_workers/). – wOxxOm Jan 04 '22 at 13:31
  • Does this answer your question? [Service worker registration failed. Chrome extension](https://stackoverflow.com/questions/66114920/service-worker-registration-failed-chrome-extension) – Nikita Skrebets Jan 11 '22 at 16:38

0 Answers0