With a web extension it's possible to communicate with a native application using runtime.connectNative(), my idea is to flip that around so a native application could launch Firefox with the --connectNative command line parameter and FF effectively ...