Daniel Ribeiro
Daniel Ribeiro

Reputation: 3119

FF 3+ addon: Page request with current cookies

Following the recipe on MDN works fine, except it can't doesn't show how to use the cookies already stored on the browser (for instance: if you are already logged in Twitter, www.twitter.com will show your user's page, not twitter's front page).

Which made me wonder: is there a simpler way to make simple GET requests from a Firefox (3+) addon, which also use the current cookies?

Upvotes: 0

Views: 114

Answers (1)

Chris
Chris

Reputation: 1400

You can find the answer over here: Reading web-page cookies from a Firefox extension (XUL)

Upvotes: 1

Related Questions