Mac OS X, 10.7.4. First I verified that my .crx works when installed the old way…
• Launch Chrome 20 (which is still able to install off-store extensions)
• Doubleclick my .crx file which is at this path…
/Users/jk/Documents/Programming/Builds/Debug/BookMacster.app/
Contents/Resources/SheepSystemsChromeExtension.crx
• Verify that Chrome 20 prompts me to install the extension I just double-clicked,
and that after doing so the "Extensions" window tells me that I have
Sheep Systems Chrome Extension version 101 installed.
• Click the trash can to remove the extension just installed.
• Quit Chrome 20.
Next, I attempted to install the same extension in Chrome 21, as an "External Extension", following the Beta documentation [1] …
• Create the directory:
/Users/jk/Library/Application Support/Google/Chrome/External Extensions/
• In that directory, create a file named after my extension's ID:
gielihnpdhkbdcnlcdnpnkidbomiccip.json
• Write to that file the following JSON string:
{
"external_crx" : "\/Users\/jk\/Documents\/Programming\/Builds\/Debug\/BookMacster.app
\/Contents\/Resources\/SheepSystemsChromeExtension.crx",
"external_version" : 101}
• Permissions of this file are octal 0644.
• Launch Chrome 21.
• Click in the menu: Window ▸ Extensions.
EXPECTED RESULT:
It should indicate that my extension is installed and loaded.
ACTUAL RESULT:
Boo... You have no extensions :-(
* * *
Hey, has anyone ever successfully installed an External Extension in Mac OS X?
Note that my .crx file is packed and zipped. Is this correct? Chrome should unzip and unpack my .crx during launch?
As suggested in the documentation, I've looked in Console for any messages and found none. I've also reviewed all of the other troubleshooting tips in the FAQ and I don't think I'm making any of those mistakes.
Are there any other ways to troubleshoot why an External Extension is not being loaded?
If someone could point me to an example of an External Extension in Mac OS X, Chrome 21 that works, I'd love to have a look.
Because it seems to me that extensions should maybe be per-profile, I also tried creating an "External Extensions" directory in the …/Google/Chrome/Default/ directory, and put my gielihnpdhkbdcnlcdnpnkidbomiccip.json file in there, but that didn't work either.
Thanks for any pointers!
Jerry Krinock
P.S. Eeek. It may not be long before Chrome 21 goes into production.
[1]
http://code.google.com/chrome/extensions/beta/external_extensions.html