Distributing a Chrome Extension easily.

180 views
Skip to first unread message

Gillian Rutledge

unread,
Oct 20, 2010, 8:22:44 PM10/20/10
to chromium-...@chromium.org
Hey there,

I have created a Chrome extension, and am hosting it in my Google Docs space. When someone clicks on the link, the .crx downloads but Chrome does not automatically prompt the user to install, and when they try and open, it doesn't suggest Chrome. Basically users have to drop the file from where its stored onto a blank tab in Chrome to initiate installation. (troublesome for non techy users)

In the Chrome Extension library, when you click to download an extension it automatically prompts to install. Does anyone know how I would save / store or host this .crx file so that when someone downloads, it automatically prompts to install??

Many thanks in advance, much appreciated!!!

--
Gillian R

Aaron Boodman

unread,
Oct 21, 2010, 2:36:03 AM10/21/10
to Gillian Rutledge, chromium-...@chromium.org
http://code.google.com/chrome/extensions/hosting.html#server

It appears that Google Docs serves it with a combination of headers
that causes Chrome to not handle it as an extension. Most likely, docs
serves the "X-Content-Type-Options: nosniff" header.

There's probably no workaround. I recommend finding some other place
to serve your crx that doesn't muck with the headers. I know that
dropbox works, for example (www.dropbox.com).

Out of curiosity, why aren't you using the gallery?

- a

> --
> You received this message because you are subscribed to the Google Groups
> "Chromium-extensions" group.
> To post to this group, send email to chromium-...@chromium.org.
> To unsubscribe from this group, send email to
> chromium-extens...@chromium.org.
> For more options, visit this group at
> http://groups.google.com/a/chromium.org/group/chromium-extensions/?hl=en.
>

Org

unread,
Oct 25, 2010, 1:17:21 PM10/25/10
to Chromium-extensions
host it with a site . such as GAE , static html is enough .
Reply all
Reply to author
Forward
0 new messages