Dmitrii Tarasov
Dmitrii Tarasov

Reputation: 414

Why are cookies unavailable from Opera extension background page?

I try to write Opera extension, it must be able to call AJAX requests to third-party site.

What I have in config.xml:

<access origin="*" />

I am authorized on this third-party site: please find that cookie exists

I call AJAX using jQuery from background page in a very simple way:

$.ajax(params);

What I get in Dragonfly? AJAX call is sent, but no cookies in request. Please see a screenshot: enter image description here

Problem exists only on extension background page. Simple access to this site transfers cookies well.

What am I doing wrong? How to make background page see my cookies? Or what is another way to call third-party site from my extension?

Upvotes: 2

Views: 328

Answers (1)

Mehdi Karamosly
Mehdi Karamosly

Reputation: 5438

When I read Ajax request to third party site I directly think about cross domain restrictions: Cross domain cookies

Upvotes: 1

Related Questions