To uninstall a webapp, Mozilla says to go to about:apps. Therefore, I asked about anchor link to Firefox about:config. But it seems impossible to go to about:config
(or about:apps
) from a web page.
Then, Joum advised to use navigator.mozApps.mgmg.uninstall()
as indicated by Mathieu Rochette.
But how to use navigator.mozApps.mgmg.uninstall()
within a web page?
What are the other ways to uninstall a webapp on Firefox?
I'm running Firefox on Linux, I'd like to share my solution but it might not work on Windows or other platforms.
Firefox creates a .directory for each web app in your home, for example:
~/.http\;robnyman.github.com
You can run
~/.http\;robnyman.github.com/webapprt-stub -remove
to remove that app. And you will get a notification that the app is uninstalled.
To manually uninstall a webapp on Firefox for Android, you can go to about:apps
.
Unfortunately, about:apps
is not yet available on Firefox for Desktop.
Using Aurora (Firefox v24) and Firebug, I retrieved the latest API of navigator.mozApps
:
navigator.mozApps [xpconnect wrapped mozIDOMApplicationRegistry]
|
+-- QueryInterface()
|
+-- checkInstalled()
|
+-- getInstalled()
|
+-- getSelf()
|
+-- install()
|
+-- __proto__ [xpconnect wrapped native prototype]
|
+-- QueryInterface()
|
+-- checkInstalled()
|
+-- getInstalled()
|
+-- getSelf()
|
+-- install()
Therefore, there is no uninstall()
function...
In fact, the main issue is to avoid a webapp to uninstall another webapp (i.e. a website uninstalling webapps from another website). I think this is something Mozilla is working on... let's see on further versions...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With