Answer the question
In order to leave comments, you need to log in
How to wait for DOM to load in chrome extension?
I am writing a browser extension and I ran into a difficulty - I need to open the url in a new tab and execute the script.
chrome.tabs.create({
url: 'http://ooo.com',
active: true,
var sos = document.getElementById("id").children[0];
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question