Thx for your awnsers.
I understand this policiy consideration, but I'm having a hard time
fixing my problem.
The --disable-extensions-file-access-check doesn't seem to work in my
case. Worse, the switch enables file url for all installed extensions,
which is really not suitable.
Maybe I've got a problem with my extension's design ?
To explain with few words, my extension uses a content script.
This content script can modify current page DOM.
I've got a popup that sends a message to a listener in my content
script.
When the content script receive the message (enable/disable), it
modify current page's DOM.
Problem is, first time I install my extension, I have to restart
Chrome to initialize properly my listener i.e. load my
contentScript.js).
This problem is ONLY with file:// urls, NOT http urls.
Any clue ?
Thanks.
On Sep 22, 3:17 am, Chiuto <
s...@chiuto.com> wrote:
> as far as i know, you need to specify file access in as starting up chrome
> application with argument.
>
>
>
>
>
>
>
> On Wed, Sep 21, 2011 at 6:09 PM, y(oYo) <
lioledin...@gmail.com> wrote:
> > Hi !
> > I'm working on a Chrome extension that use mainly with file:// urls.
>
> > I have a content script that inject code in current page, so I must
> > tick the "Allow file access" checkbox on extension page.
> > My question is : How can I force this checkbox to be checked on
> > extension install ?
> > Is it possible ? (I guess no but who knows...)
>
> > I'm aware of the --disable-extensions-file-access-check switch, but it
> > is not a suitable solution.
>
> > Thanks a lot.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Chromium-extensions" group.
> > To post to this group, send email to
chromium-extensi...@chromium.org.
> > To unsubscribe from this group, send email to
> >
chromium-extensions+unsubscr...@chromium.org.