Since update to Safari version 18 our browser extension stopped working. Our developers came to following conclusions:
After saving a state of the extension (communication of the service_worker background script), the extension is blocked until user clicks to other window than Safari. After that the extension restarts and everything works correctly. Until next interaction with extension on the option page and popup window. We use for communication functionality chrome.runtime.onMessage.
Extension sometimes incorrectly loads data from chrome.storeage.local and user loses all data
Options page is always displayed in the new window instead of the new tab
All problems described above were not happening in Safari version 17. Unfortunately there is no advice in the developer community, how to fix these problems.
Anybody here experiences same problem or has a solution for it?