I am developing a Chrome Extension which has a background.js script that is configured in the manifest as a service_worker. Sometimes I need to execute "alert" but in manifest V3 it does not work anymore. Using notifications is not an option because in the company I work for all browser notificarions are disabled by the administrator of the OS.
So how can I fire a box with a message to the user when something goes wrong in the background script? Alert worked just fine, perfectly... how do i fix this?