I have created a chrome extension with MV3, I configured my manifest to work on private windows
"incognito": "split"
and It is working properly If I allow private mode
It works.
Whenever I open a private window without allowing the extension, I get this error:
Service worker registration failed
Any solution to that to solve this error?
EDIT: I use
chrome.tabs.onUpdated.addListener
chrome.tabs.onActivated.addListener
chrome.windows.onRemoved.addListener
chrome.windows.onFocusChanged.addListener
chrome.tabs.onRemoved.addListener
In my background script when I delete them, error doesn't occur