谷歌浏览器启动参数

谷歌浏览器启动参数

谷歌浏览器(Google Chrome)支持一大堆的启动参数,使用方法是:右键单击桌面Google浏览器的快捷方式,选择 属性,在 目标 路径后面加一个空格,然后加上参数。

比如仅使用信任的插件:

"D:\Program Files\Google Chrome\Chrome\chrome.exe" --trusted-plugins

如果您使用 MyChrome 则示例如下:
"D:\Program Files\Google Chrome\MyChrome.exe" --trusted-plugins
或者在设置界面中输入此参数,MyChrome 会把参数传给浏览器。

谷歌浏览器支持的启动参数:
(一些个人认为有用的加了注释,没加注释的或者没用或者不知道什么用

-disable-hang-monitor
-disable-metrics
-disable-metrics-reporting
-assert-test
-renderer-assert-test

崩溃测试:
-crash-test

-renderer-crash-test
-renderer-startup-dialog
-plugin-startup-dialog
-testshell-startup-dialog
-plugin-launcher
-channeltesting-channel
-homepagestart-renderers-manuallyrenderer
-renderer-pathplugin

单一进程。Google浏览器默认为多进程方式,稳定但占用资源较大。如果不喜欢,可以加上这个参数:

-single-process

(注:新版浏览器已不再支持这个参数)


每个标签页开一个进程:
-process-per-tab

每个网站开一个进程:
-process-per-site

-in-process-plugins
禁用沙箱:
-no-sandbox

安全插件:
-safe-plugins

仅使用信任的插件:
-trusted-plugins

沙箱测试:
-test-sandbox

指定用户数据文件夹的位置。MyChrome 中就用了这个参数。
-user-data-dir

-appupload-file
-dom-automation
-plugin-pathjs-flags
-geoidlangdebug-children
-wait-for-debugger-children
-log-filter-prefix
-enable-logging
-dump-histograms-on-exit
-disable-logging
-remote-shell-port
-uninstallomnibox-popup-count
-automation-channel

恢复最近的会话:
-restore-last-session

-record-mode
-playback-mode
-no-events

隐藏图标:
-hide-icons

显示图标:
-show-icons

设置默认浏览器:
-make-default-browser

代理服务器:
-proxy-server

-dns-log-details
-dns-prefetch-disable
-debug-print

允许所有的ActiveX:
-allow-all-activex

-disable-dev-tools
-always-enable-dev-tools
-memory-model
-tab-count-to-load-on-session-restore
-memory-profile
-enable-file-cookies

启动时最大化:
-start-maximized

-enable-watchdogfirst-run
-message-loop-strategy
-message-loop-histogrammer
-importsilent-dump-on-dcheck
-disable-prompt-on-repost
-disable-popup-blocking

禁止javascript:
-disable-javascript

禁止Java:
-disable-java

禁用插件:
-disable-plugins

禁止显示图像:
-disable-images

-use-lf-heap

-new-http

posted on 2013-03-03 01:05  5彩石头  阅读(3290)  评论(0编辑  收藏  举报

导航