
如何使用命令行(在 Mac 上)在 Firefox 上打开新选项卡?我试过了open -a "Firefox" --args "-new-tab" "http://about:newtab"
。这不起作用;它只是将 Firefox 带到最前面。
并且open -a "Firefox" http://about:newtab
会在 Firefox 上打开一个新窗口,但无法在当前窗口上打开新选项卡。
答案1
也许这不是您想要的,但我设法使用 打开了一个新选项卡open -a "Firefox" "http://any.url"
。但是,它并没有像您希望的那样打开 about:newtab。