Closed SimonStnn closed 3 weeks ago
Browser extensions do not allow code to run when the extension is uninstalled. It only allows the browser to open a url. This url has to be https
or http
.
browser.runtime.setUninstallURL();
So the backend would need to have an endpoint listening and serve a website to delete the account.
Documentation: https://developer.chrome.com/docs/extensions/reference/api/runtime#method-setUninstallURL
The user should be deleted when someone uninstalls the extension.