D
D
Demonstr662021-12-13 14:32:24
Google Chrome
Demonstr66, 2021-12-13 14:32:24

Chrome extension, how to get window instance of "top" context?

Good afternoon!
I decided to make the first extension for chrome to expand the capabilities of the site I need. And I ran into this problem: I don't know how to access the window instance of the "top" context. The thing is that not all of the window extensions have the fields I need. I am attaching screenshots to make it clearer. Is there a way to get exactly the window of the context "top"
61b72f160b697243473531.png61b72f1bd0698774551853.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nadim Zakirov, 2021-12-13
@zkrvndm

Run your code not in the context of the extension, but in the context of the page and you will be happy.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question