[Project_owners] Saving Data
Samuel Saint-Pettersen
samji at bigfoot.com
Fri Dec 15 06:35:09 PST 2006
On 15/12/06, Amin <amin.eft at gmail.com> wrote:
> is there any easy method to save a string in my extension so i can show it
> or use it next time that user open browser ?
>
> _______________________________________________
If your developing your extension for Firefox 2, you could probably
use the Session store API:
http://developer.mozilla.org/en/docs/Session_store_API
Although (if you're not using Firefox 2) and since its just one string
you need to be displayed when the users opens the browser, you could
write the string out to a plain text file, which then reads the line
in the file on startup of the browser and displays it.
More information about the Project_owners
mailing list