bat文件开始打开chrome chrome://downloads/ [英] bat file start open chrome chrome://downloads/
本文介绍了bat文件开始打开chrome chrome://downloads/的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试向下载管理器chrome标志打开chrome实例.但这一点都不喜欢我.URL可以正常工作,因此我知道chrome标志不是url,那么我们将如何打开chrome的这一部分 chrome://downloads/
I am trying to open an instance of chrome to the download manager chrome flag. But it's not liking me whatsoever. URL's will work perfectly fine so I know that the chrome flag is not a url so how would we open this part of chrome
chrome://downloads/
start /D "C:\Program Files (x86)\Google\Chrome\Application" chrome.exe --new-window "chrome://downloads/"
推荐答案
不可能.
Look at StartupBrowserCreator::GetURLsFromCommandLine in the Chromium source code:
if (policy->IsWebSafeScheme(url.scheme()) ||
url.SchemeIs(url::kFileScheme) ||
#if defined(OS_CHROMEOS)
// In ChromeOS, allow any settings page to be specified on the command
// line. See ExistingUserController::OnLoginSuccess.
(url.spec().find(chrome::kChromeUISettingsURL) == 0) ||
#else
((url.spec().find(std::string(chrome::kChromeUISettingsURL) +
chrome::kResetProfileSettingsSubPage) == 0)) ||
#endif
(url.spec().compare(url::kAboutBlankURL) == 0)) {
urls.push_back(url);
}
- 在Chrome操作系统中,可以在命令行上指定任何
chrome://settings
页面 - 在其他平台上,仅允许
chrome://settings/resetProfileSettings
. - 始终允许所有
- In ChromeOS, any
chrome://settings
page may be specified on the command line - On other platforms only
chrome://settings/resetProfileSettings
is allowed. - Always allowed are all web-safe schemes
http://
,https://
,ftp://
,data:
,feed
,blob:
,
real file paths likec:\something.html
andabout:blank
.
因此,除了上面提到的例外,所有
chrome://
网址在命令行上都会被忽略.So all
chrome://
urls are ignored on the command line with the exception mentioned above.这篇关于bat文件开始打开chrome chrome://downloads/的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
- In ChromeOS, any
查看全文