Reputation: 3119
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
Reputation: 1400
You can find the answer over here: Reading web-page cookies from a Firefox extension (XUL)
Upvotes: 1