On 8/18/06, Kapil <[EMAIL PROTECTED]> wrote:
I want to set a cookie for firefox from my c/c++ program on windows
for a specific website.

First, please don't cross-post unless it's appropriate (and your
crosspost to dev-mdc was not) and if you do cross-post, send a single
message to several groups/mailing lists and set followup-to.

There are no interfaces to control Firefox like that from an outside
program. The usual workaround is to write an extension that gets
installed to user's Firefox then talks to your C++ program somehow
(e.g. sockets) and does the necessary manipulations using the internal
API. The extension will probably want to use the cookie manager
(nsICookieManager/nsICookieManager2).

Nickolay
_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to