search

Home  >  Q&A  >  body text

Chrome plug-in development issues

The code injected by

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?

细嗅蔷*细嗅蔷*780 days ago640

reply all(1)I'll reply

  • 细嗅蔷*

    细嗅蔷*2022-10-25 01:00:05

    no one

    reply
    0
  • Cancelreply