How does the chrome extension operate after a page's asynchronous communication ends?

problem description

write an extension to customize the appearance of a website by moving a div

this div itself does not respond, it is a response function added by the js file of the website

so simply setting "run_at": "document_end"document_idle" cannot respond after moving div

how to wait for the js execution of the site itself to finish before executing my js?

Apr.07,2021

when the page is loaded, set a poll to query the specific properties of the div, or call back the normal logic

after the specific operation of the js is loaded.
Menu