Chrome的启动参数集锦(二)

举报
竹叶青 发表于 2019/09/04 23:02:59 2019/09/04
【摘要】 --d3d11 ⊗No description ↪--d3d9 ⊗No description ↪--daemon ⊗No description ↪--daemon-pipe ⊗No description ↪--data-path ⊗Makes Content Shell use the given path for its data directory. ↪--data-reducti...

--d3d11 

No description 

--d3d9 

No description 

--daemon 

No description 

--daemon-pipe 

No description 

--data-path 

Makes Content Shell use the given path for its data directory. 

--data-reduction-proxy-config-url 

The URL from which to retrieve the Data Reduction Proxy   configuration. 

--data-reduction-proxy-experiment 

The name of a Data Reduction Proxy experiment to run. These experiments   are defined by the proxy server. Use --force-fieldtrials for Data Reduction   Proxy field trials. 

--data-reduction-proxy-http-proxies 

The semicolon-separated list of proxy server URIs to override the list   of HTTP proxies returned by the Data Saver API. If set, the value of this   flag overrides any proxies specified by other flags like   --spdy-proxy-auth-origin or --spdy-proxy-auth-fallback. If the URI omits a   scheme, then the proxy server scheme defaults to HTTP, and if the port is   omitted then the default port for that scheme is used. E.g. "http://foo.net:80",   "http://foo.net", "foo.net:80", and "foo.net"   are all equivalent. 

--data-reduction-proxy-lo-fi 

The mode for Data Reduction Proxy Lo-Fi. The various modes are   always-on, cellular-only, slow connections only and disabled. 

--data-reduction-proxy-secure-proxy-check-url 

Sets a secure proxy check URL to test before committing to using the   Data Reduction Proxy. Note this check does not go through the Data Reduction   Proxy. 

--data-reduction-proxy-secure-proxy-disabled 

Starts the secure Data Reduction Proxy in the disabled state until the   secure proxy check succeeds.

--data-reduction-proxy-warmup-url 

Sets a URL to fetch to warm up the data reduction proxy on startup and   network changes. 

--data-reduction-ssl-proxy 

The origin of the data reduction SSL proxy. 

--dbus-stub 

Forces the stub implementation of dbus clients. 

--dbus-unstub-clients 

Comma-spearated list of dbus clients that should be unstubbed. See chromeos/dbus/dbus_client_bundle.cc   for the names of the dbus clients. 

--debug-enable-frame-toggle 

Enables a frame context menu item that toggles the frame in and out of   glass mode (Windows Vista and up only). 

--debug-packed-apps 

Adds debugging entries such as Inspect Element to context menus of   packed apps. 

--debug-plugin-loading 

Dumps extra logging about plugin loading to the log file. 

--debug-print[9] 

Enables support to debug printing subsystem. 

--default 

No description 

--default-tile-height 

No description 

--default-tile-width 

Sets the tile size used by composited layers. 

--default-wallpaper-is-oem 

Indicates that the wallpaper images specified by   kAshDefaultWallpaper{Large,Small} are OEM-specific (i.e. they are not   downloadable from Google). 

--default-wallpaper-large 

Default wallpaper to use (as paths to trusted, non-user-writable JPEG   files). 

--default-wallpaper-small 

No description 

--delete 

No description 

--demo 

No description 

--derelict-detection-timeout 

Time before a machine at OOBE is considered derelict. 

--derelict-idle-timeout 

Time before a derelict machines starts demo mode. 

--desktop 

No description 

--device-management-url 

Specifies the URL at which to fetch configuration policy from the device   management backend. 

--device-scale-factor[6] 

Device scale factor passed to certain processes like renderers,   etc. 

--diagnostics 

Triggers a plethora of diagnostic modes. 

--diagnostics-format 

Sets the output format for diagnostic modes enabled by diagnostics   flag. 

--diagnostics-recovery 

Tells the diagnostics mode to do the requested recovery step(s). 

--disable 

No description 

--disable-3d-apis 

Disables client-visible 3D APIs, in particular WebGL and Pepper 3D. This   is controlled by policy and is kept separate from the other enable/disable   switches to avoid accidentally regressing the policy support for controlling   access to these APIs. 

--disable-about-in-settings 

When kEnableSettingsWindow is used, About is shown as an overlay in   Settings instead of as a separate page, unless this flag is specified. 

--disable-accelerated-2d-canvas 

Disable gpu-accelerated 2d canvas. 

--disable-accelerated-jpeg-decoding 

Disable partially decoding jpeg images using the GPU. At least YUV   decoding will be accelerated when not using this flag. Has no effect unless   GPU rasterization is enabled. 

--disable-accelerated-mjpeg-decode 

Disable hardware acceleration of mjpeg decode for captured frame, where   available. 

--disable-accelerated-video-decode 

Disables hardware acceleration of video decode, where available. 

--disable-account-consistency 

Disables consistent identity features. 

--disable-add-to-shelf 

Disables the display of a banner allowing the user to add a web app to   their shelf (or platform-specific equivalent) 

--disable-affiliation-based-matching 

Disable affiliation based matching, so that credentials stored for an   Android application will not be considered matches for, and will not be   filled into corresponding Web applications. 

--disable-android-compositor-animation-timelines[8] 

Disable external animation system for Android compositor. See also   kDisableCompositorAnimationTimelines for renderer compositors. 

--disable-app-info-dialog-mac[5] 

Disable the toolkit-views App Info dialog for Mac. 

--disable-app-list-dismiss-on-blur 

If set, the app list will not be dismissed when it loses focus. This is   useful when testing the app list or a custom launcher page. It can still be   dismissed via the other methods (like the Esc key). 

--disable-app-window-cycling[5] 

Disables custom Cmd+` window cycling for platform apps and hosted   apps. 

--disable-appcontainer 

No description 

--disable-async-dns 

Disables the experimental asynchronous DNS client. 

--disable-auto-hiding-toolbar-threshold[8]

Sets the threshold for when to disable auto-hiding the toolbar. If the   device's width and height are above the threshold, the toolbar will never be   hidden due to scrolling. It will still be hidden if page contents go   fullscreen. 

--disable-autofill-keyboard-accessory-view[8] 

Disables showing suggestions in a keyboard accessory view. 

--disable-autofill-save-card-bubble 

Disables showing bubble instead of infobar for save credit card   prompt. 

--disable-background-networking 

Disable several subsystems which run network requests in the background.   This is for use when doing network performance testing to avoid noise in the   measurements. 

--disable-background-timer-throttling 

Disable task throttling of timer tasks from background pages. 

--disable-backing-store-limit 

Disable limits on the number of backing stores. Can prevent blinking for   users with many windows/tabs and lots of memory. 

--disable-blink-features 

Disable one or more Blink runtime-enabled features. Use names from   RuntimeEnabledFeatures.in, separated by commas. Applied after   kEnableBlinkFeatures, and after other flags that change these features. 

--disable-boot-animation 

Disables wallpaper boot animation (except of OOBE case). 

--disable-breakpad 

Disables the crash reporting. 

--disable-bundled-ppapi-flash 

Disables the bundled PPAPI version of Flash. 

--disable-cache 

Force dynamically loaded apps or services to be loaded irrespective of   cache instructions. 

--disable-cached-picture-raster 

Disables the use of a cached picture for raster in the renderer, making   raster go directly from the display item list (this is the data structure   surfaced to tracing). This is useful for debugging to remove the cached   picture from the pipeline to narrow down bugs. 

--disable-canvas-aa 

Disable antialiasing on 2d canvas. 

--disable-captive-portal-bypass-proxy 

Disable bypass proxy for captive portal authorization. 

--disable-cast-streaming-hw-encoding 

Disable hardware encoding support for Cast Streaming. 

--disable-child-account-detection 

Disables detection of child accounts. 

--disable-clear-browsing-data-counters 

Disables data volume counters in the Clear Browsing Data dialog. 

--disable-client-side-phishing-detection 

Disables the client-side phishing detection feature. Note that even if   client-side phishing detection is enabled, it will only be active if the user   has opted in to UMA stats and SafeBrowsing is enabled in the   preferences. 

--disable-cloud-import 

Disables cloud backup feature. 

--disable-component-cloud-policy 

Disables fetching and storing cloud policy for components. 

--disable-component-extensions-with-background-pages 

Disable default component extensions with background pages - useful for   performance tests where these pages may interfere with perf results. 

--disable-component-update 

No description 

--disable-composited-antialiasing 

Disables layer-edge anti-aliasing in the compositor. 

--disable-compositor-animation-timelines

Disables new cc/animation system (Project Heaviside).   crbug.com/394772 

--disable-compositor-property-trees 

Disables the use of property trees rather than CalcDrawProps for   computing draw properties. 

--disable-confirmation 

No description 

--disable-contextual-search 

Disables Contextual Search. 

--disable-core-animation-plugins[10] 

Disables support for Core Animation plugins. This is triggered when   accelerated compositing is disabled. See http://crbug.com/122430. 

--disable-credit-card-scan 

Disables using device's camera to scan a new credit card when filling   out a credit card form. 

--disable-d3d11 

Disables use of D3D11. 

--disable-databases 

Disables HTML5 DB support. 

--disable-datasaver-prompt 

Switches and optional value for Data Saver prompt on cellular   networks. 

--disable-default-apps 

Disables installation of default apps on first run. This is used during   automated testing. 

--disable-delay-agnostic-aec 

Disables Delay Agnostic AEC in WebRTC. 

--disable-demo-mode 

Disables the ChromeOS demo. 

--disable-device-disabling 

If this switch is set, the device cannot be remotely disabled by its   owner. 

--disable-device-discovery-notifications 

Disables device discovery notifications. 

--disable-dinosaur-easter-egg 

Disables the dinosaur easter egg on the offline interstitial. 

--disable-direct-npapi-requests 

Handles URL requests by NPAPI plugins through the renderer. 

--disable-direct-write[6] 

Disables the DirectWrite font rendering system on windows. 

--disable-directwrite-for-ui[6] 

Disables DirectWrite font rendering for general UI elements. 

--disable-display-color-calibration[7] 

No description 

--disable-display-list-2d-canvas 

No description 

--disable-distance-field-text 

Disables distance field text. 

--disable-domain-blocking-for-3d-apis 

Disable the per-domain blocking for 3D APIs after GPU reset. This switch   is intended only for tests. 

--disable-domain-reliability 

Disables Domain Reliability Monitoring. 

--disable-download-notification 

Disable download notification. 

--disable-drive-search-in-app-launcher 

No description 

--disable-drop-sync-credential 

Disable dropping the credential used to sync passwords. 

--disable-dwm-composition 

Disables use of DWM composition for top level windows. 

--disable-encrypted-media 

Disables (unprefixed) Encrypted Media Extensions. 

--disable-experimental-app-list 

No description 

--disable-extensions 

Disable extensions. 

--disable-extensions-file-access-check 

Disable checking for user opt-in for extensions that want to inject   script into file URLs (ie, always allow it). This is used during automated   testing. 

--disable-extensions-http-throttling 

Disable the net::URLRequestThrottlerManager functionality for requests   originating from extensions.

--disable-fast-web-scroll-view-insets 

Disables a workaround for fast inset updates for   UIWebView.scrollView. 

--disable-features 

Lists separated by commas the name of features to disable. See   base::FeatureList::InitializeFromCommandLine for details. 

--disable-field-trial-config 

Disable field trial tests configured in   fieldtrial_testing_config.json. 

--disable-file-system 

Disable FileSystem API. 

--disable-fill-on-account-select 

Disables the experiment for the password manager to only fill on account   selection, rather than autofilling on page load. 

--disable-flash-3d 

Disable 3D inside of flapper. 

--disable-flash-stage3d 

Disable Stage3D inside of flapper. 

--disable-full-form-autofill-ios 

Disables the experimental Full Form Autofill on iOS feature. 

--disable-gaia-services 

Disable GAIA services such as enrollment and OAuth session restore. Used   by 'fake' telemetry login.

--disable-gesture-editing 

No description 

--disable-gesture-requirement-for-media-playback 

Disable user gesture requirement for media playback. 

--disable-gesture-typing 

No description 

--disable-gl-drawing-for-tests 

Disables GL drawing operations which produce pixel output. With this the   GL output will not be correct but tests will run faster. 

--disable-gl-error-limit 

Disable the GL error log limit. 

--disable-gl-extensions 

Disables specified comma separated GL Extensions if found. 

--disable-glsl-translator 

Disable the GLSL translator. 

--disable-gpu 

Disables GPU hardware acceleration. If software renderer is not in   place, then the GPU process won't launch. 

--disable-gpu-compositing 

Prevent the compositor from using its GPU implementation. 

--disable-gpu-driver-bug-workarounds 

Disable workarounds for various GPU driver bugs. 

--disable-gpu-early-init 

Disable proactive early init of GPU process. 

--disable-gpu-memory-buffer-compositor-resources 

Do not force that all compositor resources be backed by GPU memory   buffers. 

--disable-gpu-memory-buffer-video-frames

Disable GpuMemoryBuffer backed VideoFrames. 

--disable-gpu-process-crash-limit 

Disable the limit on the number of times the GPU process may be   restarted This switch is intended only for tests. 

--disable-gpu-program-cache 

Turn off gpu program caching 

--disable-gpu-rasterization 

Disable GPU rasterization, i.e. rasterize on the CPU only. Overrides the   kEnableGpuRasterization and kForceGpuRasterization flags. 

--disable-gpu-sandbox 

Disable the GPU process sandbox. 

--disable-gpu-shader-disk-cache 

Disables the GPU shader on disk cache. 

--disable-gpu-vsync 

Stop the GPU from synchronizing on the vsync before presenting. We can   select from the options below: beginframe : Next frame can start without any   delay on cc::scheduler. gpu : Disable gpu vsync. default: Set both   flags. 

--disable-gpu-watchdog 

Disable the thread that crashes the GPU process if it stops responding   to messages. 

--disable-hang-monitor 

Suppresses hang monitor dialogs in renderer processes. This may allow   slow unload handlers on a page to prevent the tab from closing, but the Task   Manager can be used to terminate the offending process in this case. 

--disable-hid-detection-on-oobe 

Disable HID-detection OOBE screen. 

--disable-hide-inactive-stacked-tab-close-buttons 

Disable hiding the close buttons of inactive tabs when the tabstrip is   in stacked mode. 

--disable-histogram-customizer 

Disable the RenderThread's HistogramCustomizer. 

--disable-hosted-app-shim-creation[5] 

Disables app shim creation for hosted apps on Mac. 

--disable-hosted-apps-in-windows[5] 

Prevents hosted apps from being opened in windows on Mac. 

--disable-icon-ntp 

Disables large icons on the New Tab page. 

--disable-infobars 

Prevent infobars from appearing. 

--disable-input-view 

No description 

--disable-ios-password-generation 

Disable password generation for iOS. 

--disable-ios-password-suggestions 

Disable showing available password credentials in the keyboard accessory   view when focused on form fields. 

--disable-ipv4 

No description 

--disable-ipv6 

No description 

--disable-javascript-harmony-shipping 

Disable latest shipping ECMAScript 6 features. 

--disable-keyboard-commands 

Disables support for keyboard commands. 

--disable-kill-after-bad-ipc 

Don't kill a child process when it sends a bad IPC message. Apart from   testing, it is a bad idea from a security perspective to enable this   switch. 

--disable-lcd-text 

Disables LCD text. 

--disable-legacy-window[6] 

Disable the Legacy Window which corresponds to the size of the   WebContents. 

--disable-local-storage 

Disable LocalStorage. 

--disable-logging 

Force logging to be disabled. Logging is enabled by default in debug   builds. 

--disable-login-animations 

Avoid doing expensive animations upon login. 

--disable-low-end-device-mode 

Force disabling of low-end device mode when set. 

--disable-low-res-tiling 

When using CPU rasterizing disable low resolution tiling. This uses less   power, particularly during animations, but more white may be seen during fast   scrolling especially on slower devices. 

--disable-lru-snapshot-cache 

Disable the snapshots lru cache. 

--disable-mac-overlays[10] 

Fall back to using CAOpenGLLayers display content, instead of the   IOSurface based overlay display path. 

--disable-mac-views-native-app-windows[5] 

Disables use of toolkit-views based native app windows. 

--disable-main-frame-before-activation 

Disables sending the next BeginMainFrame before the previous commit   activates. Overrides the kEnableMainFrameBeforeActivation flag. 

--disable-manager-for-sync-signin 

Disable both saving and filling for the sync signin form. 

--disable-md-downloads 

Disables the Material Design version of chrome://downloads. 

--disable-media-source 

Disables Media Source API (i.e., the MediaSource object). 

--disable-media-suspend 

No description 

--disable-media-thread-for-media-playback[8] 

Sets the MediaSource player that uses UI thread for frame   processing. 

--disable-merge-key-char-events[6] 

Disables merging the key event (WM_KEY*) with the char event   (WM_CHAR). 

--disable-method-check 

No description 

--disable-minimize-on-second-launcher-item-click 

Disable the behavior that the second click on a launcher item (the click   when the item is already active) minimizes the item. 

--disable-mojo-channel 

Disale ChannelMojo usage regardless of the platform or the process   type. 

--disable-mtp-write-support 

Disables mtp write support. 

--disable-multilingual-spellchecker[11] 

Disables the multilingual spellchecker. 

本文转载自异步社区

原文链接:

https://www.epubit.com/articleDetails?id=N5b90f55b-6312-48ed-9829-592eb31e0dc2


【版权声明】本文为华为云社区用户转载文章,如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@huaweicloud.com
  • 点赞
  • 收藏
  • 关注作者

评论(0

0/1000
抱歉,系统识别当前为高风险访问,暂不支持该操作

全部回复

上滑加载中

设置昵称

在此一键设置昵称,即可参与社区互动!

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。