But the localStorage thing is not working for me on Chrome :( It
works good on Firefox !
Please let me know if the below code is okay ? I wanted to use the
localStorage thing in my toolstrip html
<!-- ---- START ---- -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 5.0 Transitional//EN">
<HTML>
<HEAD>
<script>
function testLocalStorage()
{
alert("testLocalStorage");
if(!localStorage.getItem("testFlag"))
{
alert("creating new localstorage key");
localStorage.setItem("testFlag","0");
}
else
{
alert("testFlag : " +
localStorage.getItem("testFlag"));
}
}
</script>
<TITLE> Trying LocalStorage !! </TITLE>
</HEAD>
<BODY>
<INPUT type="submit" onclick="testLocalStorage()" value="Click me">
</BODY>
</HTML>
<!-- ---- END ------ -->
On Aug 25, 3:23 pm, Aaron Boodman <[email protected]> wrote:
> Yes, extensions can use HTML5 Local Storage to store data across
> browser sessions. For more information, see:
>
> http://dev.w3.org/html5/webstorage/
>
> - a
>
>
>
> On Tue, Aug 25, 2009 at 3:18 PM, The Sailor<[email protected]> wrote:
>
> > Hi,
>
> > Is there some place within the chrome browser, where the extensions
> > can maintain some values (some flags) that could used by the extension
> > on the next fresh start of the chrome browser ?
>
> > For e.g. in firefox , they have about:config where in we get to see
> > all the information being stored by the browser as well as other
> > extensions.
>
> > Thanks,
> > -Vishal
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---