How to trigger an event before a cookie is read?
i'm currently developing a model firefox addon which can enable a user to
have separate cookies for every tab. Here is what i'm planning to do:
1)tag the tab using a unique number (say Xtab)
2)all the cookies created in a particular tab are prefixed with the tag
(i.e. Xtab)
3)when the site that the user is browser tries to read the cookie, my
firefox addon will deliver the tagged cookie.
The tab can be tagged using setTabValue. Cookie creation can be monitored
using a observer service as described here My question is, is there an
event/listener which trigger before a cookie is read?
No comments:
Post a Comment