问题
I looked in:
C:\Documents and Settings\username\Local Settings\Application Data\Google\Chrome\User Data\Default\Extensions
for unpacked extensions, but that folder is empty for me.
For newer versions, where does Chrome store the files?
回答1:
Storage Location for Unpacked Extensions
Extension engine does not explicitly change their location or add a reference to its local paths, they are left in the place where there are selected from in all Operating Systems.
Ex: If i load a unpacked Extension from E:\Chrome Extension
the unpacked Extension is still in the same location
Storage Location for Packed Extensions
Navigate to chrome://version/
and look for Profile Path, it is your default directory and Extensions Folder is where all the extensions, apps, themes
are stored
Ex:
Windows
If my Profile Path is %userprofile%\AppData\Local\Google\Chrome\User Data\Default
then my storage directory is:
C:\Users\<Your_User_Name>\AppData\Local\Google\Chrome\User Data\Default\Extensions
Linux
~/.config/google-chrome/Default/Extensions/
MacOS
~/Library/Application\ Support/Google/Chrome/Default/Extensions
Chromium
~/.config/chromium/Default/Extensions
回答2:
For my Mac, extensions were here:
~/Library/Application Support/Google/Chrome/Default/Extensions/
if you go to chrome://extensions
you'll find the "ID" of each extension. That is going to be a directory within Extensions directory. It is there you'll find all of the extension's files.
回答3:
Since chrome has come up with the multiple profiles you will not get it directly in C:\Users\<Your_User_Name>\AppData\Local\Google\Chrome\User Data\Default\Extensions
but you have to first type chrome://version/
in a tab and then look out for Profile path inside that and after you reach to your profile path look for Extensions folder in it and then folder with the desired extension Id
回答4:
For older versions of windows (2k, 2k3, xp)
"%Userprofile%\Local Settings\Application Data\Google\Chrome\User Data\Default\Extensions"
回答5:
For Chrome on Mac, if you have multiple profiles, you can find it under your profile folder, either Default
or Profile #
. i.e either
~/Library/Application Support/Google/Chrome/Default/Extensions/
or
~/Library/Application Support/Google/Chrome/<Profile 1>/Extensions/
回答6:
Another alternative is to do right click on the chrome icon and then go to shortcut tab (according to windows 10). You will see there "Target", copy the path and remove "chrome.exe".
回答7:
This link "Finding All Installed Browsers in Windows XP and Vista – beware 64bit!" may be useful for Windows as suggested by "How to find all the browsers installed on a machine".
The installed web browsers are saved in this registry,
HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Clients\StartMenuInternet.
来源:https://stackoverflow.com/questions/14543896/where-does-chrome-store-extensions