Search code examples
google-chrome-extension

Location of CRX in chrome after installation?


Im doing a project that involves browser extension. In firefox i do know the location of where the extensions will be after you download them (under your profile folder) and I was wondering where does Chrome hides the crx after you install them? Especially in mac.

I'm doing this coz i find it easier to build extension by look how other people tackles the problem especially XPCOM and now bumping into some issue with chrome extensions.


Solution

  • CRX files are basically ZIP files. After you install an extension, all the files are in a folder named according to the extension ID. To get the extension ID, go to chrome://extensions/ and make sure Developer mode is checked.

    Installed Chrome extension directories:

    Mac

    /Users/USERNAME/Library/Application Support/Google/Chrome/Default/Extensions
    

    Windows 7

    C:\Users\USERNAME\AppData\Local\Google\Chrome\User Data\Default\Extensions
    

    Windows XP

    C:\Documents and Settings\USERNAME\Local Settings\Application Data\Google\Chrome\User Data\Default
    

    Linux

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

    Note: Additional directories are created when you have multiple profiles in Chrome. To get to an extension installed for the second profile, replace /Default with /Profile 1.