I'm looking for someone who has experience coding/hacking Firefox extensions. The extension will only have these functions: read cookies from a text file, and then write them to the current Firefox profile in [login to view URL] (cookies file in Firefox 3). This will either be triggered by a keyboard shortcut (preferably), or it will have a button in the Firefox navigation toolbar (next to refresh/stop/home buttons). Upon clicking said button, the extension will either overwrite existing cookies with the same name, or create new cookies.
The (over)writing of cookies needs to happen while the browser is open and without a browser restart.
The text file from which cookie data is pulled is located in the same profile directory where [login to view URL] is. The format in which cookies are stored in said text file is such:
cookie_name; cookie_value; .[login to view URL]; path/; 30
for example, a cookie might look like this in the text file:
rac_session; 3jd3cx0m5w02j4; .[login to view URL]; /; 30
The 30 at the end is the number of days from today, in which the cookie will expire.
There might be multiple cookies stored in the text file, one per line. All cookies are written in one go (key press or button click).
Here are a couple of extensions which could be useful:
[login to view URL] - add/edit cookies
[login to view URL] - deletes cookies from current site at a button click.
Thanks everyone, looking forward to your bids.