How to open a URL in Firefox\Chrome from command l

2019-04-06 05:06发布

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?

3条回答
Melony?
2楼-- · 2019-04-06 05:24

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/"
查看更多
放我归山
3楼-- · 2019-04-06 05:36

in Mozilla FireFox you can do it like

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"
查看更多
唯我独甜
4楼-- · 2019-04-06 05:42

This might Help

How can I launch a browser with no window frame or tabs/address bar

https://superuser.com/questions/459775/how-can-i-launch-a-browser-with-no-window-frame-or-tabs-address-bar

Following site lists all command line switches for chrome

http://peter.sh/experiments/chromium-command-line-switches/

查看更多
登录 后发表回答