chome extensions 导入导出 |
chrome extensions export and import
Locate the extension folder from an existing installation. You should find it in
Chrome user data directory → Extensions → {a 32 "a→p" character hash}
It should be fairly obvious which hash corresponds to which extension upon inspection, but you can often find a readme.txt, or a messages.json file in a _locales sudfolder, from which you can identify the extension. On my local system the hash for Adblock was cfhdojbkjhnklbpkdaibdccddilifddb (this is probably globally unique, but just check), and then there were versioned subfolders. Choosing the most recent version directory should be fine.
Copy this folder to the new computer.
Go to chrome://extensions in the target Chrome browser and enable "Developer mode" by the checkbox in the upper right.
Press "Load unpacked extension..." and choose the version-number folder inside the desired extension folder.
chrome user data home
[Chrome] %LOCALAPPDATA%\Google\Chrome\User Data
mac os
[Chrome] ~/Library/Application Support/Google/Chrome
/Users/who/Library/Application Support/Google/Chrome/Default/Extensions/