content_script
shares the DOM but does not share the environment. For the injected webpage, is it equivalent to copying a DOM? For example, if I inject a specific webpage now, when this webpage runs I need to get a certain value. Although I use content_script to inject and modify it, the injected web page still gets its own environment value.
What should I do if I want to inject this web page to modify the environment value?