Eric
Eric

Reputation: 97555

Where does google chrome store unpacked extensions?

I just lost all my changes to my google chrome plugin. However, the plugin is still running within the browser.

Where does Google Chrome store its cached copy of unpacked extensions?

Upvotes: 17

Views: 33949

Answers (6)

kenorb
kenorb

Reputation: 166319

User profiles are stored in User Data Directory and it vary depending on the operating system.

The easiest way is to navigate to chrome://version and look for the Profile Path field.

Example (Windows):

  • [Profile Path] C:\Users\Alice\AppData\Local\Google\Chrome\User Data\Default
  • [User Data Dir] C:\Users\Alice\AppData\Local\Google\Chrome\User Data

Then Extensions are located under Extensions/ folder.

Upvotes: 1

Agnel Amodia
Agnel Amodia

Reputation: 769

In windows:

Path: C:\Users\yourusername\AppData\Local\Google\Chrome\User Data\Profile 1\Extensions (Here, you will not able to see extensions by name but it will be by extensions by Id. Extension Id you can get it from chrome→extension→Developer modes)

Or

Path: C:\Documents and Settings\yourusername\Local Settings\Application Data\Google\Chrome\User Data\Default\Extensions

Or

Download Extension Source Locator. Give your username. It will list out all the extension with path details.

Upvotes: 0

grepsedawk
grepsedawk

Reputation: 3411

I was able to find luck in:

Non-windows 7:

C:\Documents and Settings\<username>\Local Settings\Application Data\Google\Chrome\User Data\<profile>\Extensions

-or-

Windows 7:

C:\Users\<username>\AppData\Local\Google\Chrome\User Data\<profile>\Extensions

EDIT: You can go to "chrome://version/" (like a url) and it shows your "Profile Path". There you can find an "Extensions" folder which is the one you're looking for.

Upvotes: 25

JWL
JWL

Reputation: 14191

On Linux (OpenSuse 12.3), I managed to find all my installed extensions here:

~/.config/google-chrome/Default/Extensions/

It's important to first take note of the extension ID in case u wish to just copy a particular extension. For this, open chrome://extensions/ in your browser, copy the id of the extension of interest, and find it's directory under the extensions directory given above.

Being able to locally save copies of extensions like this has helped me to continue using (and even modifying / hacking) on extension that were eventually removed from the Chrome Store by either their owners or Google.

Upvotes: 5

Golden Flying Broom
Golden Flying Broom

Reputation: 863

So I was debugging an extension I am building on Mac OS X and couldn't find the SQLite database in any of the standard locations. It doesn't store the DB in the path where the extension files live.

Here's where I found my database when running an unpacked extension:

~/Library/Application Support/Google/Chrome/Default/databases/http_foobar.com_0/XX

-Eric

Upvotes: 4

Eric
Eric

Reputation: 97555

Turns out that unpacked extensions are left in their original locations. Only packed extension get extracted to the places Alex.Piechowski mentioned.

Upvotes: 13

Related Questions