B
B
Bla Bla2021-04-07 09:58:25
JavaScript
Bla Bla, 2021-04-07 09:58:25

How to get the "document" of the new tab using window.open()?

In a chrome extension, I need to open a new tab (window.open('url')), it opens and how do I get the document of the new tab? Maybe something like this window.open('url').onload(e=> this.document) - clearly the code is not valid, this is to make it clearer.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question