Open cipriancraciun opened 6 years ago
That depends how the Firefox instance was started. If it was run with -no-remote
, then you can't send a link to it. Otherwise, just run Firefox again with the URL.
(I can't believe it's 2018 and Firefox still works like this.)
The Firefox process is initially started as:
firefox -profile /.../path -new-instance -new-window http://.../
Then when opening a new URL Firefox is called as:
firefox -profile /.../path -new-window http://.../
However, only the first started instance actually succeeds in opening the URL, for all others I get the usual Firefox process is already running
error...
In any case, as I control the script I can invoke Firefox with any arguments necessary.
(P.S.: I can't also believe that in 2018 Firefox still hasn't solved this issue... But I still hope there is some "obscure" way to work around it...)
[As the subject says, this is a question, but I think it will be useful for many users of this plugin.]
My question is how to open a link in an existing running Firefox instance (with a different profile)?
(The internet is full of suggestions to use the
-remote
but this stopped working some time ago...)Moreover I'm trying to achieve this from a program launched by the OpenWith plugin, as the program I'm having in mind "transforms" the URL somewhat.