1. 程式人生 > >chrome 谷歌瀏覽器命令列大全 (List of Chromium Command Line Switches)

chrome 谷歌瀏覽器命令列大全 (List of Chromium Command Line Switches)

There are lots of command lines which can be used with the Google Chrome browser. Some change behavior of features, others are for debugging or experimenting. This page lists the available switches including their conditions and descriptions. Last automated update occurred on 2015-03-22.

Condition Explanation
--0 Value of the --profiler-timing flag that will disable timing information for chrome://profiler.
--aggressive No description
--aggressive-cache-discard No description
--aggressive-tab-discard No description
--allow-autofill-sync-credential
Force the password manager to allow sync credentials to be autofilled.
--allow-cross-origin-auth-prompt Allows third-party content included on a page to prompt for a HTTP basic auth username/password pair.
--allow-external-pages Allow access to external pages during layout tests.
--allow-file-access On ChromeOS, file:// access is disabled except for certain whitelisted directories. This switch re-enables file:// for testing.
--allow-file-access-from-files By default, file:// URIs cannot read other file:// URIs. This is an override for developers who need the old behavior for testing.
--allow-http-background-page Allows non-https URL for background_page for hosted apps.
--allow-http-screen-capture Allow non-secure origins to use the screen capture API and the desktopCapture extension API.
--allow-insecure-localhost Enables TLS/SSL errors on localhost to be ignored (no interstitial, no blocking of requests).
--allow-insecure-websocket-from-https-origin Allows frames with an https origin to use WebSockets with an insecure URL (ws://).
--allow-legacy-extension-manifests Allows the browser to load extensions that lack a modern manifest when that would otherwise be forbidden.
--allow-loopback-in-peer-connection Allows loopback interface to be added in network list for peer connection.
--allow-nacl-crxfs-api[1] Specifies comma-separated list of extension ids or hosts to grant access to CRX file system APIs.
--allow-nacl-file-handle-api[1] Specifies comma-separated list of extension ids or hosts to grant access to file handle APIs.
--allow-nacl-socket-api[1] Specifies comma-separated list of extension ids or hosts to grant access to TCP/UDP socket APIs.
--allow-no-sandbox-job Enables the sandboxed processes to run without a job object assigned to them. This flag is required to allow Chrome to run in RemoteApps or Citrix. This flag can reduce the security of the sandboxed processes and allow them to do certain API calls like shut down Windows or access the clipboard. Also we lose the chance to kill some processes until the outer job that owns them finishes.
--allow-outdated-plugins Don't block outdated plugins.
--allow-running-insecure-content By default, an https page cannot run JavaScript, CSS or plugins from http URLs. This provides an override to get the old insecure behavior.
--allow-sandbox-debugging Allows debugging of sandboxed processes (see zygote_main_linux.cc).
--alsa-input-device[2] The Alsa device to use when opening an audio input stream.
--alsa-output-device[2] The Alsa device to use when opening an audio stream.
--also-emit-success-logs Also emit full event trace logs for successful tests.
--alternate-protocol-probability-threshold Specifies the threshold to be used when determining of an Alternate-Protocol advertisement will be honored. If the advertised probability is larger than the threshold, then it will be honored.
--app Specifies that the associated value should be launched in "application" mode.
--app-id Specifies that the extension-app with the specified id should be launched according to its configuration.
--app-mode-auth-code Value of GAIA auth code for --force-app-mode.
--app-mode-oauth-token Value of OAuth2 refresh token for --force-app-mode.
--app-mode-oem-manifest Path for app's OEM manifest file.
--app-shell-host-window-size Size for the host window to create (i.e. "800x600").
--app-shell-install-crx ID of an extension CRX to be downloaded from the web store.
--app-shell-preferred-network SSID of the preferred WiFi network.
--app-shell-refresh-token Refresh token for identity API calls for the current user. Used for testing.
--app-shell-user User email address of the current user.
--apple No description
--apps-checkout-url Overrides the apps checkout URL, which is used to determine when to expose some private APIs.
--apps-keep-chrome-alive-in-tests[3] Prevents Chrome from quitting when Chrome Apps are open.
--artifacts-dir Screenshot testing: specifies the directoru where artifacts will be stored.
--ash-animate-from-boot-splash-screen Enables an animated transition from the boot splash screen (Chrome logo on a white background) to the login screen. Implies |kAshCopyHostBackgroundAtBoot| and doesn't make much sense if used in conjunction with |kDisableBootAnimation| (since the transition begins at the same time as the white/grayscale login screen animation).
--ash-browsertests[4] Force browser tests to run in Ash/Metro on Windows 8.
--ash-constrain-pointer-to-root Constrains the pointer movement within a root window on desktop.
--ash-copy-host-background-at-boot Copies the host window's content to the system background layer at startup. Can make boot slightly slower, but also hides an even-longer awkward period where we display a white background if the login wallpaper takes a long time to load.
--ash-debug-shortcuts Enable keyboard shortcuts useful for debugging.
--ash-disable-lock-layout-manager Disables LockLayoutManager used for LockScreenContainer, return back to WorkspaceLayoutManager.
--ash-disable-screen-orientation-lock[5] Disable the support for WebContents to lock the screen orientation.
--ash-disable-touch-exploration-mode Disable the Touch Exploration Mode. Touch Exploration Mode will no longer be turned on automatically when spoken feedback is enabled when this flag is set.
--ash-enable-fullscreen-app-list[5] Enables fullscreen app list if Ash is in maximize mode.
--ash-enable-magnifier-key-scroller[5] Enables key bindings to scroll magnified screen.
--ash-enable-mirrored-screen Enables mirrored screen.
--ash-enable-power-button-quick-lock Enables quick, non-cancellable locking of the screen when in maximize mode.
--ash-enable-software-mirroring Enables software based mirroring.
--ash-enable-system-sounds When this flag is set, system sounds will be played whether the ChromeVox is enabled or not.
--ash-enable-touch-view-testing Enables touch view testing. TODO(skuhne): Remove TOGGLE_TOUCH_VIEW_TESTING accelerator once this flag is removed.
--ash-force-desktop[4] Force Ash to open its root window on the desktop, even on Windows 8 where it would normally end up in metro.
--ash-hide-notifications-for-factory Hides notifications that are irrelevant to Chrome OS device factory testing, such as battery level updates.
--ash-host-window-bounds Sets a window size, optional position, and optional scale factor. "1024x768" creates a window of size 1024x768. "100+200-1024x768" positions the window at 100,200. "1024x768*2" sets the scale factor to 2 for a high DPI display.
--ash-screen-rotation-animation Specifies the screen rotation animation to use. Possible values are: "partial-rotation", "partial-rotation-slow", "full-rotation", and "full-rotation-slow". See ash/rotator/screen_rotation_animator.cc for more details.
--ash-secondary-display-layout Specifies the layout mode and offsets for the secondary display for testing. The format is "<t|r|b|l>,<offset>" where t=TOP, r=RIGHT, b=BOTTOM and L=LEFT. For example, 'r,-100' means the secondary display is positioned on the right with -100 offset. (above than primary)
--ash-touch-hud Enables the heads-up display for tracking touch points.
--ash-use-first-display-as-internal Uses the 1st display in --ash-host-window-bounds as internal display. This is for debugging on linux desktop.
--ash-webui-init When wallpaper boot animation is not disabled this switch is used to override OOBE/sign in WebUI init type. Possible values: parallel|postpone. Default: parallel.
--audio-buffer-size Allow users to specify a custom buffer size for debugging purpose.
--audio-modem-dump-tokens-to-dir Directory to dump encoded tokens to, for debugging. If empty (the default), tokens are not dumped. If invalid (not a writable directory), Chrome will crash!
--audio-modem-enable-audible-broadcast Allow broadcast of audible audio tokens. Defaults to true.
--audio-modem-enable-inaudible-broadcast Allow broadcast of inaudible audio tokens. Defaults to true.
--aura-legacy-power-button (Most) Chrome OS hardware reports ACPI power button releases correctly. Standard hardware reports releases immediately after presses. If set, we lock the screen or shutdown the system immediately in response to a press instead of displaying an interactive animation.
--auth-ext-path Enables overriding the path for the default authentication extension.
--auto The values the kTouchEvents switch may have, as in --touch-events=disabled. auto: enabled at startup when an attached touchscreen is present.
--auto-launch-at-startup A flag that is used to tell Chrome that it was launched automatically at computer startup and not by some user action.
--auto-select-desktop-capture-source This flag makes Chrome auto-select the provided choice when an extension asks permission to start desktop capture. Should only be used for tests. For instance, --auto-select-desktop-capture-source="Entire screen" will automatically select to share the entire screen in English locales.
--block-cross-site-documents Block cross-site documents (i.e., HTML/XML/JSON) from being loaded in subresources when a document is not supposed to read them. This will later allow us to block them from the entire renderer process when site isolation is enabled.
--bootstrap Values for the kExtensionContentVerification flag. See ContentVerifierDelegate::Mode for more explanation.
--browser-subprocess-path Path to the exe to run for the renderer and plugin subprocesses.
--browser-test Tells Content Shell that it's running as a content_browsertest.
--bwsi Indicates that the browser is in "browse without sign-in" (Guest session) mode. Should completely disable extensions, sync and bookmarks.
--bypass-app-banner-engagement-checks This flag causes the user engagement checks for showing app banners to be bypasses. It is intended to be used by developers who wish to test that their sites otherwise meet the criteria needed to show app banners.
--canvas-msaa-sample-count The number of MSAA samples for canvas2D. Requires MSAA support by GPU to have an effect. 0 disables MSAA.
--cc-layer-tree-test-no-timeout Prevents the layer tree unit tests from timing out.
--cc-rebaseline-pixeltests Makes pixel tests write their output instead of read it.
--certificate-transparency-log Certificate Transparency: Uses the provided log(s) for checking Signed Certificate Timestamps provided with certificates. The switch's value is: log_description:log_key,log_description:log_key,... where log_description is a textual description of the log. log_key is a Base64'd DER-encoded SubjectPublicKeyInfo of the log's public key. Multiple logs can be specified by repeating description:key pairs, separated by a comma.
--channel The value of this switch tells the child process which IPC channel the browser expects to use to communicate with it.
--check-cloud-print-connector-policy Checks the cloud print connector policy, informing the service process if the policy is set to disallow the connector, then quits.
--check-for-update-interval How often (in seconds) to check for updates. Should only be used for testing purposes.
--check-layout-test-sys-deps Check whether all system dependencies for running layout tests are met.
--child-wallpaper-large Default wallpaper to use for kids accounts (as paths to trusted, non-user-writable JPEG files).
--child-wallpaper-small No description
--ChromeOSMemoryPressureHandling The memory pressure thresholds selection which is used to decide whether and when a memory pressure event needs to get fired.
--cipher-suite-blacklist Comma-separated list of SSL cipher suites to disable.
--clear-data-reduction-proxy-data-savings Clear data savings on Chrome startup.
--clear-token-service Clears the token service before using it. This allows simulating the expiration of credentials during testing.
--cloud-devices-url The URL of the cloud devices service to use.
--cloud-print-file Tells chrome to display the cloud print dialog and upload the specified file for printing.
--cloud-print-file-type Specifies the mime type to be used when uploading data from the file referenced by cloud-print-file. Defaults to "application/pdf" if unspecified.
--cloud-print-job-title Used with kCloudPrintFile to specify a title for the resulting print job.
--cloud-print-print-ticket Used with kCloudPrintFile to specify a JSON print ticket for the resulting print job. Defaults to null if unspecified.
--cloud-print-setup-proxy Setup cloud print proxy for provided printers. This does not start service or register proxy for autostart.
--cloud-print-url The URL of the cloud print service to use, overrides any value stored in preferences, and the default. Only used if the cloud print service has been enabled. Used for testing.
--cloud-print-xmpp-endpoint The XMPP endpoint the cloud print service will use. Only used if the cloud print service has been enabled. Used for testing.
--compensate-for-unstable-pinch-zoom Enable compensation for unstable pinch zoom. Some touch screens display significant amount of wobble when moving a finger in a straight line. This makes two finger scroll trigger an oscillating pinch zoom. See crbug.com/394380 for details.
--compile-shader-always-succeeds Always return success when compiling a shader. Linking will still fail.
--component-updater Comma-separated options to troubleshoot the component updater. Only valid for the browser process.
--composite-to-mailbox Causes the compositor to render to textures which are then sent to the parent through the texture mailbox mechanism. Requires --enable-compositor-frame-message.
--connect-to-metro-viewer On Windows only: requests that Chrome connect to the running Metro viewer process.
--connectivity-check-url Url for network connectivity checking. Default is "https://clients3.google.com/generate_204".
--conservative No description
--console No description
--consumer-device-management-url Specifies the URL of the consumer device management backend.
--content-shell-host-window-size

相關推薦

chrome 瀏覽器命令大全 (List of Chromium Command Line Switches)

There are lots of command lines which can be used with the Google Chrome browser. Some change behavior of features, others are for debug

chrome瀏覽器-DevTool開發者工具-詳細總結

相關 tail justify 任務管理器 log 兩個 停用 表格 需要 chrome的開發者工具可以說是十分強大了,是web開發者的一大利器,作為我個人而言平時用到的幾率很大,相信大家也很常見,但是不要僅僅停留在點選元素看看樣式的層面上哦,跟著我的總結一起學習實踐一下

Ubuntu下安裝瀏覽器命令

googl 獲得 rom 谷歌瀏覽器 www -i 快捷 文章 ref 轉載:http://www.linuxidc.com/Linux/2013-10/91857.htm 對於剛剛開始使用Ubuntu並想安裝谷歌Chrome瀏覽器的新用戶來說,本文所介紹的方法是最快捷的。

Chrome 瀏覽器安裝使用 Postman 和 Sense 插件

目的 蘋果 進入 都在 alt blank earch 更強 配置 博客地址:http://www.moonxy.com 一、前言 Google Chrome 的特點是簡潔、快速等。Chrome 支持多標簽瀏覽,每個標簽頁面都在獨立的"沙箱"內運行,在提高安全性的同時,一個

ubuntu16.04安裝chrome瀏覽器

sso etc fix vra popu mod ont clear ng- 按下 Ctrl + Alt + t 鍵盤組合鍵,啟動終端。 輸入以下命令: sudo wget http://www.linuxidc.com/files/repo/google-chrom

chrome瀏覽器實現多使用者登入

Chrome谷歌瀏覽器實現多使用者登入 在工作和生活中,有時候會用不同的賬戶登入同一個系統,總是退出再換另一個賬號登入的話就比較麻煩,也很浪費時間,今天學到了一個小技巧–谷歌瀏覽器的多使用者管理,使用之後,對於多使用者登入的切換方便多了~ 工具/原料 Chrome瀏覽器 實現

Chrome(瀏覽器)開啟方法

Chrome(谷歌瀏覽器)應用商店有很多非常好的外掛,但因為天朝的特殊國情,Chrome應用商店也一同被無辜地封殺了,也就導致了現在Chrome應用商店打不開、進不去的窘境。藉助新的Google Hosts列表即可正常開啟谷歌應用商店,但是有效可用的Google Hosts要怎麼找呢?別急,讓小編給你的神器一

Chrome 瀏覽器 快捷鍵 公開兩個隱藏鍵

至從Chrome出來了,我就一直用他,除非某些網頁顯示不正常,才用IE。速度快是最大的優勢。我喜歡用標籤頁,更喜歡,將要看的頁面,先點開到標籤頁。一下子,開幾十個頁面標籤。然後慢慢看,這是N年前因為網速慢養成的習慣。於是無意中發現了。除了大家都知道的,按住Shift鍵再點選連結可以開新視窗一樣。用Ctrl+S

chrome瀏覽器

|小黑屋|手機版|Archiver| ( 已備案,你不信? )    GMT+8, 2018-11-21 15:45 , Processed in 1.055591 second(s), 16 queries .

chrome 瀏覽器模擬各種手機設定userAgent

谷歌除錯工具十分全面:可以模擬各種手機平臺環境,只需要配置下userAgent就可以了,下面看圖: 1、在選擇手機型號的時候選擇Edit 2、右邊會跳出 編輯的地方,可以配置userAgent 3、配置完成後在左邊選擇手機型號的地方就會有自定義的userAgen

chrome瀏覽器外掛製作簡易教程

1.在磁碟上建立一個目錄,用來放應用的程式碼和資源 2.在這個目錄中,建立一個文字檔案,命名為manifest.json,其內容為: { "manifest_version": 2, "name": "Getting started examp

Chrome瀏覽器訪問助手的安裝與啟用(解決瀏覽器更新後不能安裝問題)

解決Chrome谷歌瀏覽器更新後不能安裝外掛問題:      --enable-easy-off-store-extension-install 在你的谷歌瀏覽器的桌面快捷方式上右鍵屬性 目標里加上上面那句話  記得前面有個空格 Chrome谷歌瀏覽器訪問助手的安裝

Chrome 瀏覽器呼叫攝像頭並拍照上傳 java示例

html頁面: <!DOCTYPE html> <html> <head> <title>html5呼叫攝像頭實現拍照</title> <meta charset="utf-8"> <me

linux安裝google chrome瀏覽器 _kali linux

第一步我們來下載Goole Chrome:使用 wget 命令來下載最新版本的 Google Chrome 的 debian 安裝包。# wget https://dl.google.com/linux/direct/google-chrome-stable_current_

chrome瀏覽器開啟webgl

方法一:右鍵單擊谷歌瀏覽器的桌面快捷方式,在目標裡面加上," --enable-webgl --ignore-gpu-blacklist --allow-file-access-from-files”

瀏覽器工作圖示變白色解決方法

原因是我改動了桌面快捷方式後導致檔名不同就變白色了   記錄個解決辦法 建立記事本 把以下程式碼貼進去 然後把尾綴改成.bat執行即可 taskkill /f /im explorer.exe attrib -h -i %userprofile%\AppData\Loc

Centos 6.6安裝chrome 瀏覽器

用firefox總感覺很慢,有時候還假死。經過網上一番搜尋,試過各種方法,終於安裝成功。 一   下載 在個google官網下載的瀏覽器安裝一直報錯: sudo rpm -ivh Downloads/google-chrome-stable_current_i386.r

網站開發時,如何禁用Chrome瀏覽器自動儲存密碼的提示?

在網頁開發中,在表單中加入autocomplete="off"後,IE和FF不會提示儲存密碼,但是用Chrome瀏覽器登入系統時,會彈出自動儲存密碼的提示,從安全的角度考慮,需要禁止瀏覽器的這個功能,提升系統安全性。大部分瀏覽器都是根據表單域的type="password"

Chrome瀏覽器OTS parsing error: invalid version tag

筆者今日在給後臺管理UI尋找新的庫和框架,看到了AceAdmin,既美觀又還能全面滿足自己的需求。於是下載下來部署看看效果。筆者的web伺服器是自己開發的,使用C++,基於libevent-http。瀏覽器支援Chrome(65.0.3325.146)和QQBrowser(9

chrome 瀏覽器 更新後頁面佈局變大處理

1 桌面找到瀏覽器快捷方式 右鍵開啟屬性 2."C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" /high-dpi-support=1 /force-device-scale-factor=1 3.