14
8
How can I make a single-page web app into a standalone desktop application, on Firefox, similar to Chrome's "Add to desktop..." option? Platform is Linux.
14
8
How can I make a single-page web app into a standalone desktop application, on Firefox, similar to Chrome's "Add to desktop..." option? Platform is Linux.
5
I often do it the manual way, you might appreciate it since you are running linux. No other tools are required besides firefox :)
firefox -p
. That fires up the firefox profile editor. Create a new profile for the web app you want to use, and name it accordingly. Leave the profile folder location as the default, or choose anything you want.-P <profile name>
launches the given profile name at startup instead of the default one. You'll want to enter your newly created profile's name here.--no-remote
makes firefox ignore remote commands. That means, you can run this firefox instance next to another (your default) firefox instance, and new commands (like clicking a link in an external application) will not get send to the new firefox instance, but to the default one instead.For example, to create a standalone desktop app for e.g. WhatsApp Web, do the following:
WhatsApp-Web
web.whatsapp.com
firefox --no-remote -P WhatsApp-Web
to launch the new profile.That way, you can run this second firefox instance next to your default one, without interfering the behaviour of the default instance. Cookies and other data is not shared between both, giving you some extra privacy. For convenient launching, you can even add a starter file for this new firefox instance if your operating system / desktop environment supports this. In linux, you might want to create a .desktop
file as follows:
4Can I somehow hide the tabs and address bar, and change the icon in taskbar? – jaboja – 2018-04-07T14:54:41.977
2Would love to know if there's an answer to this. I've just switched back to Firefox Quantum and this is the only feature I'm really missing. – Charles Roper – 2017-11-21T21:51:24.907
You mean like Electron, but Firefox and for users not devs? – YetAnotherRandomUser – 2018-02-13T02:34:24.013
1
Does this still work? https://askubuntu.com/a/811657
– Unfundednut – 2018-02-16T17:56:19.120The relevant bug report is https://bugzilla.mozilla.org/show_bug.cgi?id=1283670
– mic – 2019-08-04T19:42:47.847