windows 如何在弹出模式下从命令行打开 Firefox\Chrome 中的 URL?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/26104538/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to open a URL in Firefox\Chrome from command line in pop up mode?
提问by gabbi soloer
When executing the following command line:
执行以下命令行时:
C:\>"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" "https://aaa.com" --new-window
it opens the browser in a new window but with all the toolbars - how can I open the browser like a popup?
它会在新窗口中打开浏览器,但带有所有工具栏 - 如何像弹出窗口一样打开浏览器?
回答by user2757572
Maybe "application mode" is what you are looking for.
也许“应用程序模式”就是你要找的。
Here's an example:
下面是一个例子:
"C:\Program Files\Google\Chrome\Application\chrome.exe" --app="http://www.youtube.com/"
回答by Sayyid
This might Help
这可能有帮助
How can I launch a browser with no window frame or tabs/address bar
如何启动没有窗口框架或选项卡/地址栏的浏览器
Following site lists all command line switches for chrome
以下站点列出了 chrome 的所有命令行开关
回答by user889030
in Mozilla FireFox you can do it like
在 Mozilla FireFox 中,你可以这样做
firefox.exe -new-window "www.google.com"
firefox.exe -new-tab "www.google.com"
in Google Chrome you can do it like
在谷歌浏览器中你可以这样做
chrome.exe --app="www.google.com"
chrome.exe --kiosk "www.google.com"