This is a bug on MacOS (and maybe others): Clicking on a link from another program doesn't open new tab when you enable the restore tabs option in the system settings. The problem occurs only when Firefox is not already open. If Firefox already is open, it works well, but not if it is has to start up