I am developing a chrome extension which would modify an element in a website. That website sends a lot of ajax call after loading the main document to get page contents (GWT framework architecture). I need to modify the content of that webpage and the element that I want to modify will be created only after all the ajax calls.
let's assume that the id of element that i want to modify is #idContainer > div > div.container.container\--wider.\\30, which will be available only after the completion of the ajax call.
so how to execute a js code (via chrome extension -> content script) after this element is available.
Note: I have seen many similar questions in stackOverflow but none of them have answers without using jQuery.