SimonStnn / pop-a-loon

The new rising trend (literally) that changes the browser game completely.
https://github.com/SimonStnn/pop-a-loon#installation
Apache License 2.0
10 stars 4 forks source link

Delete user when uninstalling the extension #236

Closed SimonStnn closed 3 weeks ago

SimonStnn commented 3 weeks ago

The user should be deleted when someone uninstalls the extension.

SimonStnn commented 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