Well, you can use -
window.open(chrome.extension.getURL("options.html"))
In the background page (replace "options.html" with the file name of your
options page, of course).

http://code.google.com/chrome/extensions/extension.html#method-getURL
<http://code.google.com/chrome/extensions/extension.html#method-getURL>
☆PhistucK


On Sat, Dec 26, 2009 at 16:02, Ankit Ahuja <ahuja.an...@gmail.com> wrote:

> So, there isn't any permalink to the options page?
>
> I actually wanted to open the Options page from background.html. My
> extension's content script would send a request to background.html to
> open the options page based on some user action.
>
> Thanks.
>
> PhistucK wrote:
> > If you have a browser action (and maybe also with page actions), starting
> > with the next Dev release (and maybe also Beta), you could right click on
> > the browser action and a context menu will open, with an option to go to
> the
> > Options page, if exists and an option to uninstall the extension (and
> maybe
> > one more).
> >
> > ☆PhistucK
> >
> >
> > On Sat, Dec 26, 2009 at 15:03, Ankit Ahuja <ahuja.an...@gmail.com>
> wrote:
> >
> > > Is the chrome://extensions page the only way to access the options
> > > page of an extension?
> > >
> > > Or is there a permanent link available to the Options page of an
> > > extension?
> > >
> > >
> > > --
> > >
> > > 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...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > chromium-extensions+unsubscr...@googlegroups.com<chromium-extensions%2bunsubscr...@googlegroups.com>
> <chromium-extensions%2bunsubscr...@googlegroups.com<chromium-extensions%252bunsubscr...@googlegroups.com>
> >
> > > .
> > > For more options, visit this group at
> > > http://groups.google.com/group/chromium-extensions?hl=en.
> > >
> > >
> > >
>
> --
>
> 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...@googlegroups.com.
> To unsubscribe from this group, send email to
> chromium-extensions+unsubscr...@googlegroups.com<chromium-extensions%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/chromium-extensions?hl=en.
>
>
>

--

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...@googlegroups.com.
To unsubscribe from this group, send email to 
chromium-extensions+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/chromium-extensions?hl=en.


Reply via email to