S
S
Stepgor2019-12-03 22:56:54
JavaScript
Stepgor, 2019-12-03 22:56:54

How can I get cookies with an extension?

I have a website, then A.
And an extension, then B.
On A there are cookies for authorization.
How can I enable authorization from popup by getting cookies from A. I don't really want to use cookies. And is it possible to implement such a cross-domain trick?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2019-12-06
@Clastro

The script in content.js is executed directly on the pages of open tabs, so you can pick up cookies there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question