Remove webapp in Firefox

To remove webapp, Mozilla says to go to: applications . So I asked about the anchor link in Firefox about: config . But it seems impossible to go to about:config (or about:apps ) from a web page.

Joum then recommended using navigator.mozApps.mgmg.uninstall() as designated by Mathieu Rochette .

But how to use navigator.mozApps.mgmg.uninstall() on a web page?
What are other ways to uninstall webapp in Firefox?

+4
source share
2 answers

I am running Firefox on Linux, I would like to share my solution, but it may not work on Windows or other platforms.

Firefox creates a .directory for every web application in your home, for example:

 ~/.http\;robnyman.github.com 

You can run

 ~/.http\;robnyman.github.com/webapprt-stub -remove 

to remove this application. And you will receive a notification that the application has been deleted.

+9
source

To manually install un install webapp in Firefox for Android, you can go to about:apps .

Unfortunately, about:apps is not yet available in Firefox for the desktop.

Using Aurora (Firefox v24) and Firebug, I got the latest navigator.mozApps API:

 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 problem is not to remove webapp to remove another webapp (i.e. a website that removes webapps from another site). I think this is what Mozilla is working on ... look at other versions ...

+2
source

Source: https://habr.com/ru/post/1489376/


All Articles