[moving discussion to [email protected] since this is
extensions specific]
You have a couple of options here:

1) Take the code for the
sample<http://src.chromium.org/viewvc/chrome/trunk/src/chrome/test/data/extensions/samples/gmail/>,
and make these changes:

var gmail = "https://mail.google.com/a/<your domain here>/";
var gmailAtomRef = "https://mail.google.com/a/<your domain here>/feed/atom";

Then go to chrome://extensions in chrome, and use the "Pack Extension"
feature to package up your extension, and then install it.

2) Make more detailed edits to the sample code to allow runtime
customization of the url from a preferences page in the extension, using
localStorage to save the preference values to persist across browser
restarts.

3) Wait for us to update the sample extension to do something like #2. A
couple of us were talking about this just yesterday, but it might be a
little while before we get around to it.


On Mon, Oct 5, 2009 at 8:45 AM, revolunet <[email protected]>wrote:

>
> Hi all
>
> How can i set some preferences for my custom toolstrip extension ?
>
> I have the gmail sample extension and id like to add the ability to
> check a google apps account which involves hardcoding somewhere the
> specified domain. (differents logins/feeds urls)
>
> Thank you ;)
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to