Let’s say, I have a
page.js which contains codes need to be run at document_start as page script. The script must be executed before any code the page provided. The script need to access variables on window, so it have to be an page script not content script.
Is there a reliable way to execute the
page.js in pages’ context before any other code? How can I do that?