Thursday, November 10, 2011

How to download Chrome Extension and install it from local

My computer is set to can't run Google Chrome. I don't know how they did that. But if your run "chrome.exe" it  will be automatically killed before it started.

The solution is rename it to any name except "chrome.exe", for example, "ie.exe". Then I can use it.

But that is not perfect. I can't install any extension from Chrome WebStore. I got the error message as below:

Package is invalid. Details: 'Could not create directory for unzipping: C:\XXXXXX".

Check the latest Chrome Dev, it has the "Developer Mode" which can load the local unpacked extension. Then I got the idea to download the extension and load it from local directory.

1. Find the ID of extension

When you press the extension in the Chrome WebStore, you can get the link as below in the URL bar.
https://chrome.google.com/webstore/detail/cfhdojbkjhnklbpkdaibdccddilifddb
The one after webstore/detail/ is the ID (cfhdojbkjhnklbpkdaibdccddilifddb) of it.

2. Open other browser (Not Chrome)

Paste this in the URL bar
https://clients2.google.com/service/update2/crx?response=redirect&x=id%3DRealID%26uc

replace the with the real ID you found in last step.

3. Hit "Enter" then you would ask to save the extension.

4. Unzip it to a directory

5. Press "Load unpacked extension" in the chrome://settings/extensions. It will ask you to locate the directory of extension created in Step 4.

Then, enjoy the extension.

Next time, try to make it automatically.

Any ideas of workaround for using Google Chrome in my situation is welcomed.

2 comments:

rocteur said...

This is badly written and the example does not match the story. And it simply does not work!

If you're going to write something like this, make sure the examples match what you're saying and re-read so what you're saying is clear.

Replace the with ....

Enchanter said...

Thanks for your comments. I have update it and hope it is better than before.