This article is a mirror article of machine translation, please click here to jump to the original article.

View: 14336|Reply: 1

chrome launch parameters

[Copy link]
Posted on 1/23/2017 11:28:42 AM | | |

parameter: --user-data-dir=UserDataDir
Purpose: Customize the user account folder (e.g. –user-data-dir="D:\temp\Chrome User Data")
parameter: --start-maximized
Purpose: Maximize when started
Parameters: --no-sandbox
Purpose: Cancel sandbox mode
Parameters: --single-process
Purpose: Single process (program, thread) running
Parameters: --process-per-tab
Purpose: Use a separate process for each pagination
Parameters: --process-per-site
Purpose: Use a separate process for each site
parameter: --in-process-plugins
Purpose: The plugin does not enable a separate process
Parameters: --disable-popup-blocking
Purpose: Disable pop-up interception
Parameters: --disable-javascript
Usage: Disable JavaScript
parameter: --disable-java
Purpose: Disable Java
parameter: --disable-plugins
Purpose: Disable plugins
Parameters: –disable-images
Purpose: Disable images
Parameters: --incognito
Purpose: Directly enter direct incognito browsing after startup (incognito mode)
parameter: --omnibox-popup-count="num"
Purpose: Change the number of prompt menus popped up in the URL column to num
parameter: --disk-cache-size
Purpose: Set the size of the cache file, if the maximum value is 40MB, you can add the parameter --disk-cache-size=41943040
Parameters: --disk-cache-dir
Purpose: Set the cache storage path, you can set it to a high-speed disk (ramdisk), for example: --disk-cache-dir="Z:", but I personally feel that the speed has not increased
Parameters: --enable-vertical-tabs
Purpose: Adjust the chrome navigator tab stored on the left, not at the top
–purge-memory-button
--enable-internal-flash
Address bar function:
about:version - 显示当前版本 也可以是chrome-resource://about/
about:plugins - 显示已安装插件,Google Chrome支持Active X!
about:histograms - 显示历史记录
about:dns - 显示DNS状态
about:cache, 重定向到 view-cache: 显示缓存页面
view-cache:stats - 缓存状态
about:stats - 显示状态
about:network - 很酷的网络工具
about:internets - 这应该算是一个彩蛋
chrome-resource://new-tab/ - 新标签页
about:memory - 可以查看内存和进程占用。也可以Shift+ESC,点击Statistics for nerds(傻瓜统计信息)

How to transfer chrome cache directory


1. Right-click on the "Google Chrome" shortcut icon on your desktop and select Properties – Shortcuts
      2. Add the launch parameters after the "Target" path:
          --user-data-dir="D:\Program Files\X86\Chrome\User Data"
          Note: --disk-cache-dir="<用户缓存路径>"
                    You can continue to add additional startup parameters:
                    --disk-cache-dir="<磁盘缓存路径>"
                    --disk-cache-size<缓存最大值>="
      In this way, starting Google Chrome from the shortcut key can transfer user data and browsing cache to the specified directory, but when opening Chrome from external programs (such as QQ, Thunder), a new user data directory will still be created in the original Chrome directory, and the previous userdata plug-ins, bookmarks, etc. cannot be called.
      3. Open the registry and locate the following
          HKEY_CLASSES_ROOT\ChromeHTML\shell\open\command
          HKEY_CLASSES_ROOT\http\shell\open\command
          HKEY_CLASSES_ROOT\https\shell\open\command
          HKEY_CLASSES_ROOT\ftp\shell\open\command
      4. Find and modify the above 4 positions in turn, double-click "(Default)" in the right window, and then the edit string dialog box will pop up, move the cursor between "Chrome Path" and -- "%1" in the "Numerical Data" box, and then insert Chrome commands and parameters
           --user-data-dir="D:\Program Files\X86\Chrome\User Data"
      5. Close the registry editor after modifying the above 4 locations, and no matter how you launch Google Chrome in the future, user files and temporary files will be transferred to the directory you set




Previous:ConcurrencyCheck feature of data annotation feature [Code-First series]
Next:The difference between var a=new Object() and var a={} in js
Posted on 2/1/2017 11:00:58 PM |
How do I get MB?
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com