Hi. I want to write dedicated internal extension to extract data from one system.
Unfortunately this system uses a lot of “document.write” function.
How can I be sure that final page, after all modifications is loaded?
Hi. I want to write dedicated internal extension to extract data from one system.
Unfortunately this system uses a lot of “document.write” function.
How can I be sure that final page, after all modifications is loaded?
There is no way to tell when asynchronous jobs executed by javascript are truly done.
But you can use MutationObserver API to react to changes: