zoukankan      html  css  js  c++  java
  • 谷歌浏览器启动参数

    谷歌浏览器启动参数

    谷歌浏览器(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

  • 相关阅读:
    C++雾中风景14:CRTP, 模板的黑魔法
    ClickHouse源码笔记1:聚合函数的实现
    C++雾中风景番外篇4:GCC升级二三事
    C++雾中风景13:volatile解惑
    AeroSpike踩坑手记1:Architecture of a Real Time Operational DBMS论文导读
    Linux 程序设计1:深入浅出 Linux 共享内存
    C++雾中风景番外篇3:GDB与Valgrind ,调试代码内存的工具
    C++雾中风景番外篇2:Gtest 与 Gmock,聊聊C++的单元测试
    C++雾中风景12:聊聊C++中的Mutex,以及拯救生产力的Boost
    用TensorFlow搭建一个万能的神经网络框架(持续更新)
  • 原文地址:https://www.cnblogs.com/zhouwuyi/p/2941174.html
Copyright © 2011-2022 走看看