Page(s)
Is page. evaluate executed when the JS on the webpage is idle? What if the JS execution of the page is guaranteed to be completed, and a global function or variable is defined based on the conditions to ensure that the script in page.exe can accurately obtain and execute the function in the future?
Description
Is page. evaluate executed when the JS on the webpage is idle? What if the JS execution of the page is guaranteed to be completed, and a global function or variable is defined based on the conditions to ensure that the script in page.exe can accurately obtain and execute the function in the future?