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

  • 相关阅读:
    SGU 205. Quantization Problem
    BZOJ1009: [HNOI2008]GT考试
    SGU 204. Little Jumper
    Spring Aspect 获取请求参数
    springboot 是用拦截器Interceptor获取请求的控制器和请求的方法名
    spring boot Filter过滤器的简单使用
    Java 使用Query动态拼接SQl
    java 传入list集合 返回树形菜单,for循环遍历
    spring data jpa 的简单使用
    vue项目引入element
  • 原文地址:https://www.cnblogs.com/zhouwuyi/p/2941174.html
Copyright © 2011-2022 走看看