

If you want to programatically download the crx file in a Chrome extension, change the MIME-type to application/octet-stream (e.g.

Note that opening the previous URL in Chrome will not trigger a download because Chrome automatically intercepts responses whose Content-Type is set to application/x-chrome-extension. This is a part of the Chrome Extension Source Viewer extension, available in the Chrome Web Store: A message briefly displays in your Google drive that Offline is Enabled. Click the Done button in the upper right corner of the screen. NaCl), then you have to add additional parameters ( os, arch, nacl_arch).įor the full logic of generating a complete CRX download URL, see the get_crx_url function in. Click the check box to the right of the Offline option in the Settings menu, next to Sync Google Docs, Sheets, Slides and Drawings. If the extension you're using contains OS-specific modules (e.g.

(New in 2018) acceptformat=crx2,crx3 instructs the server to also respond with extensions in the CRX3 format (instead of 204 No Content when the extension is not available as CRX2).
