I have just created a very simple chrome extension and it works fine. But when I converted to .crx file and try to open it with chrome, nothing happens. my chrome browser version is 19.0.1081.2 dev-m. My extension uses jquery-1.4.2.min. I could not understand whats the problem?

Ahmad Naqibul ArefinAhmad Naqibul Arefin

5 Answers

Opening the debug console in Chrome, or even looking at the html source file (after it is loaded in the browser), make sure that all the paths there are valid (i.e. when you follow a link you get to it's content, and not an error). When something is not valid, fix the path (e.g. get rid of the server specific part and make sure you only refer to files that are part of your extension through paths like /js/jquery-123-min.js).

Marius KjeldahlMarius Kjeldahl

Drag & Drop - the .crx on to the 'Extensions' page.

  1. Settings-Icon >Tools >Extensions
    ( the 'three horizontal-bars' icon in the top-right corner )

  2. Enable Developer Mode (toggle button in top-right corner)

  3. Drag and drop the 'crx' extension file onto the Extensions page from [step 1]
    ( .crx file should likely be in your Downloads directory )

  4. Install

Source: Chrome YouTube Downloader - install instructions.

Ujjwal SinghUjjwal Singh

I had a similar issue where I was not able to either install a CRX file into Chrome.

'Cheers (Drink to That)' is a song recorded by Barbadian recording artist Rihanna, from her fifth studio album Loud (2010). The song impacted US mainstream. Rihanna

How to download xlstat

It turns out that since I had my Downloads folder set to a network mapped drive, it would not allow Chrome to install any extensions and would either do nothing (drag and drop on Chrome) or ask me to download the extension (if I clicked a link from the Web Store).

Setting the Downloads folder to a local disk directory instead of a network directory allowed extensions to be installed.

Running: 20.0.1132.57 m

JonJon

In case Chrome tells you 'This can only be added from the Chrome Web Store', you can try the following:

  • Go to the webstore and try to add the extension
  • It will fail and give you a download instead
  • Rename the downloaded file to .zip and unpack it to a directory (you might get a warning about a corrupt zip header, but most unpacker will continue anyway)
  • Go to Settings -> Tools -> Extensions
  • Enable developer mode
  • Click 'Load unpacked extention'
  • Browse to the unpacked folder and install your extention
dvtoeverdvtoever

File format
This tool parses .CRX version 2 format documented by Google. In general, .CRX file format consist of few parts:

Magic header
Version of file format
Public Key information and a package signatureZipped contents of the extension source codeMagic header is a signature of the file telling that this file is Chrome Extension. Using this header the operating system can determine the actual type of the file (MIME type is application/x-chrome-extension), and how should it be treaten (is it executable? is it a text file?). Then the window system can show beautiful icon to the user.

In .CRX files the magic header has a constant value Cr24 or 0x43723234.

The version is provided by vendor. The version bytes are 0x02000000.

The next part of the file contains the length of the public key information and the length of a digital signature.

All .CRX packages distributed via Chrome WebStore should have public key information and digital signature in order to make possible for browser to check that the package has been transmitted without modifications and that no additions or replacements were made.

After all of the header stuff, typically ending up on 307'th byte, comes the code of extension, stored as zip-archive. So the remainder of the .crx file is the well-known .zip archive.

.crx file opened in the hex editor called HexFiend (on Mac)The header part of a .crx file selected on the picture above. Obviously, you can extract the remaining .zip archive 'by hand' using any simple hex editor. In this example, we use handy HexFiend editor on Mac.

The CRX Extractor loads a file provided, checks a magic header, version and trims the file, so only .zip archive remains. Then it returns obtained .zip archive to user.

ref:
https://crxextractor.com/about.html

lovestackh343lovestackh343

Not the answer you're looking for? Browse other questions tagged google-chromegoogle-chrome-extension or ask your own question.

It download the .crx file from novell-moonlight-3.99.0.3-x86_64.crx and then went to

chrome://extensions/

Dhoom 2 full movie youtube. and drag and drop the file on the chrome windows opened in that address and the following message appear

Apps, extensions, and users scripts cannot be added from this website

with an 'OK' button and nothing more.

I read something about 'ExtensionInstallSources', but not know how configure it to install extensions from a local directory. Any idea? I'm on Ubuntu 12.04 64bit

gsi-frankgsi-frank

1 Answer

This is a known issue.

Download the .crx file. Drag and drop the downloaded novell-moonlight-3.99.0.3-i586.crx file into Google chrome browser.

If you get any error mentioning 'Apps extensions and user scripts cannot be added from this website', open chrome://chrome/extensions/ in a new tab and now repeat the step 1

devav2devav2

Not the answer you're looking for? Browse other questions tagged software-installationchrome-extension or ask your own question.