So the only way to do preferences is by having a toolstrip? I was hoping to not have a toolstrip since they are visible in all tabs and take away valuable screen space. Preferably a user would set their preferences after install and then not have to think about the existence of the extension again.
On Tue, Aug 18, 2009 at 11:13 PM, Aaron Boodman <[email protected]> wrote: > > On Tue, Aug 18, 2009 at 8:03 PM, Maxo<[email protected]> wrote: > > Outside of the toolstrip, is there any other way to implement > > preferences? > > What do you mean by preferences? > > * You can implemented preferences UI in a regular tab contents or > popup window. This tutorial shows an example of doing the first: > > http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/getstarted.html > . > To open a popup window, just use something like > window.open("preferences.html", "", "width=400,height=300"). > > * You can store preferences in DOM Storage: > https://developer.mozilla.org/en/DOM/Storage > > * Something else? > > - a > > > > -- Jack David Baucum http://maxolasersquad.com http://www.myspace.com/mlsquad --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Chromium-extensions" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/chromium-extensions?hl=en -~----------~----~----~----~------~----~------~--~---
