Original address: http://bbs.et8.net/bbs/showthread.php? T = 944423
What if you want to copy Google Chrome to a non-system disk and copy USB flash drives? Then, the configuration file is also included with the chrome.exe main program? You can use the secret command line parameters! No installation,
Instant copy.
Extract chrome from the system directory
Run Windows + R in Vista
Code:
C:/users/Your username/Appdata/local/Google/chrome
Run Windows + R in XP
Code:
C:/Documents and Settings/Your username/Local Settings/Application Data/Google/chrome
Copy the application folder and rename it "est Google Browser. Enter the folder and create a new folder namedEst_profile
Move all the folder files in the 0.2.149.27directory to the same directory as chrome.exe.
Initialize the configuration file
Then, win + R open the command line, CD to the path of the chrome.exe you copied, and run the Code:
chrome.exe --first-run --user-data-dir=est_profile
Create shortcuts to call the green version of Google Chrome at any time
Okay. Google Chrome is already in the current directoryEst_profileThe user configuration file has been initialized.
Then, set a shortcut for chrome.exe on the table. Right-click the shortcut and add the code after the "target:
--user-data-dir=est_profile
Complete path example: code:
T:/EST Google Browser/chrome.exe -- User-data-Dir = est_profile
Further customization of available parameters:
-- Single-process single process running Google Chrome reference:
Unlike IE and FF, theworld2 is a multi-threaded, one tab one thread, while Google Chrome is a multi-process browser, the advantage of multi-process is that the crash does not affect each other, But it occupies too much memory. |
-- Start-maximized: start Google Chrome to maximize
-- Disable-Java: Java is forbidden. (The second security vulnerability in Google Chrome is Java. It's so hateful! Strictly speaking, this is caused by the old version of WebKit .)
For more parameters, see here. I am still sorting out
The above is what est found when reading the chrome_switches.cc source code.
Simplified Google Chrome
Chrome directory (originally under 0.2.149.27)
The installer subdirectory can be deleted directly.
Only the en-US.dll and zh-CN.dll are available under locales.
In this way, the total size of Google Chrome is 21.8 MB, which is much less than the default 46.5 MB.