My extension is supposed to load a content script, searchTopic.js, only after the page it's injected into has already fully loaded (yes, I have set run_at to document_end in the extension manifest), but in fact it's loading before all the DOM objects have been created (the crucial ones are created via some Javascript in the page). So, the question is, how can I wait until the page's Javascript has executed? Here's my manifest:
content_scripts: [
{
run_at: document_end,
matches: [https://groups.google.com/forum/*],
js: [searchTopic.js]
}
],