84

A computer I use does not have access to the https://chrome.google.com/extensions website.

I wish I could download the plugin and then use the file to install it, but the only option I have is to install. The plugin is downloaded to a temporary folder with a random name, and I'm not able to identify it.

slayer
  • 103
Jader Dias
  • 16,236

7 Answers7

52

Ok. I just found out that the accepted answer's method is not working. It was actually working a few months back. So, when I came here to copy the link (I had forgotten) I found that its not working. Here's what I did to get the CRX file.

Note: You will need the Chrome Extensions's ID for this. I am referring it to as $ID$. You can get the $ID$ from the URL of the Chrome Extension page.

  1. Go to Chrome's Extensions page (chrome://extensions/)

  2. Enable the developer mode (check the developer mode box)

    enter image description here

  3. Click on the "Pack extension" button. Give the "Extension root directory" as:

a. Unix, ~/.config/google-chrome/Default/Extensions/$ID$

b. Windows, C:\Users\<Your_User_Name>\AppData\Local\Google\Chrome\User Data\Default\Extensions\$ID$

c. OSX, ~/Library/Application Support/Google/Chrome/Default/Extensions/$ID$

Leave the "Private Key" field blank" and click "Pack extension".

You will find the .CRX file in the same directory as ~/.config/google-chrome/Default/Extensions/$ID$ (or other respective directories for Windows and OS X)

(Note: The .CRX file is just a .ZIP file. If all you want to do is to extract extension after getting it, you can just find the unpacked extension at <previous folder>/Extensions/$ID$ you don't need to follow above steps. You would need to follow above steps only if you specifically need the .CRX file)

conr2d
  • 103
Pervy Sage
  • 658
  • 7
  • 7
37

I've wondered how to do this too. I found this blog article that has the solution (I edited it to bring it up-to-date):

  1. Find the ID of the extension you’re interested in. When on the details page of the extension, it will be something like bfbmjmiodbnnpllbbbfblcplfjjepjdn after https://chrome.google.com/webstore/detail/
  2. Paste this into Firefox (not Chrome): https://clients2.google.com/service/update2/crx?response=redirect&os=win&arch=x64&os_arch=x86_64&nacl_arch=x86-64&prod=chromiumcrx&prodchannel=beta&prodversion=79.0.3945.53&lang=ru&acceptformat=crx3&x=id%3D~~~~%26installsource%3Dondemand%26uc and replacing ~~~~ with the extension ID.
  3. You’ll be prompted to save a CRX file. Drag this file to a Chrome window and proceed with installation
evan.bovie
  • 3,342
8

Since September 3, 2015, Installing Chrome extensions off-line no longer work (and here ) due to Google trying to prevent malicious extensions being downloaded and installed. To install an extension off-line today, require you to install a signed pre-packaged full Chrome install, using Googles Chrome for Business. This functionality is controlled by a policy list. Or according to this post, you can use their Dev or Canary channels to run any extension. Their latest builds can be found here

not2qubit
  • 2,651
  • 4
  • 34
  • 45
5

The URL has changed

if you want to get this extension: https://chrome.google.com/webstore/detail/mobile-simulator-responsi/ckejmhbmlajgoklhgbapkiccekfoccmk

The id is ckejmhbmlajgoklhgbapkiccekfoccmk

https://chrome.google.com/webstore/ajax/buy/provision_freemium/[id]?hl=en&gl=KR&pv=20210820&mce=atf,pii,rtr,rlb,gtc,hcn,svp,wtd,hap,nma,dpb,utb,hbh,ebo,hqb,ifm,c3d,ncr,hns,ctm,ac,hot,hsf,hfi,dtp,mac,bga,epb,fcf,rai,rma,lrc,spt,irt,scm,der,bgi,bem,ibg,dda,rae,shr,esl,hib,dsq,qso,pot,evt,eap,pet&_reqid=1836284&rt=j

Replace [id] with the ckejmhbmlajgoklhgbapkiccekfoccmk in the url.

Update

looks like they changed the download URL:

https://clients2.google.com/service/update2/crx?response=redirect&os=win&arch=x86-64&os_arch=x86-64&nacl_arch=x86-64&prod=chromiumcrx&prodchannel=unknown&prodversion=9999.0.9999.0&acceptformat=crx2,crx3&x=id%3D[--ID--]%26uc

Replace [--ID--] with the mooikfkahbdckldjjndioackbalphokd in the url.

Now open it on Edge, Brave, Postman or Firefox.

Teocci
  • 537
0

Trying copy extension from one computer to another.

My case: Copy extension from fedora x86_64 with chrome Version 94.0.4606.81 (Official Build) (64-bit) to windows 10(can't access web) with chrome 96.0.4664.45 64 bit.

On fedora linux the location:

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

Say jsonview extension: https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc

ID is chklaanhfefbnpoihckbnefhakgolnmc

~/.config/google-chrome/Default/Extensions/chklaanhfefbnpoihckbnefhakgolnmc/0.0.32.3_0/

Just copy this folder to another computer that can not access the web.

In page chrome://extensions/, open Developer Mode and then Load unpacked to select the extension folder with _metadata. Then you can install the extension.

Nick Dong
  • 266
0

I found a solution based on the best solution in this forum post: https://productforums.google.com/forum/#!topic/chrome/g02KlhK12fU

To summarize, the solution is:

  1. Go to where the extension is installed in your computer
  2. Create a .crx file yourself
  3. Drag & Drop the crx file into Chrome to install

To be precise:

  1. Find the ID of the extension you’re interested in at the end of the path from Chrome Web Store (the last groups of weird characters). For example, it is cfhdojbkjhnklbpkdaibdccddilifddb for following link.

    https://chrome.google.com/webstore/detail/adblock-plus/cfhdojbkjhnklbpkdaibdccddilifddb

  2. Go to where the plugins are installed (by default, it should be "%APPDATA%/../Local/Google/Chrome/User Data/Default/Extensions" in Windows.

  3. Open the folder of your extension (the name of the folder is the ID of the extension (e.g. cfhdojbkjhnklbpkdaibdccddilifddb). Notice that there is a subfolder with the version of the extension.

  4. In Chrome, go to the page with "Extensions", and click on "Developer Mode"

  5. Click on "Pack Extension" and choose the folder "Local/.../Extensions//"

  6. The .crx file has been created in the folder "Local/.../Extensions/<extensionID".

  7. To install the extension in Chrome (another account or computer), simply drag&drop the crx file into Google Chrome.

As indicated in ksed comment, you might have to unzip the .crx file.

If it is not clear, do not hesitate to comment.

-1

If you have access to the codebase for the .crx package, you can also install it directly in chrome by going to chrome://extensions/.

Next click on "Load Unpacked Extensions" and select the root directory (of the code).

The extension should work now.

Tarun
  • 123