On Mon, May 4, 2009 at 11:08 AM, jack <[email protected]> wrote:
>
> Dear experts,
>
> I am recently playing around Chrome extension development

Sweet!

> does chrome has an add-on preference system? I think a
> preference system is an essential component for an add-on ecosystem.
> What I mean is something like Firefox's
> Components.interfaces.nsIPrefBranch:
>
> https://developer.mozilla.org/En/Code_snippets/Preferences
>
> e.g., for a gmail addon, a user should be able to save his/her user/
> pswd info. WRT to add-on development, how/where to support this?

Our idea is that in most cases developers will use HTML5 LocalStorage
for this, which will be available to all web pages (including
extensions) by default.

However, HTML5 LocalStorage is not yet implemented for Chrome, so it
doesn't show up for extensions either. There are people working on
this, though, and we hope to have it available Real Soon Now.

Note that using cookies, as Peter suggests, won't work either. We have
purposely decided to not enable cookies for extensions since the
concept doesn't really make sense (cookies are really designed for
live web pages that interact with servers).

- a

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to