My injected [removed] runs after the target-page's javascript, despite using run_at: document_start?

后端 未结 4 2006
渐次进展
渐次进展 2021-01-01 19:36

I am having some problem with the order of javascript execution when I use the content script to inject some javascript into the HTML page:

This is my HTML page I us

4条回答
  •  春和景丽
    2021-01-01 20:17

    There are entire libraries dedicated to achieving what you are trying to do, as each browser seems to add its own share of bugs. Have a look at something like HeadJS, or if already using jQuery what joe said.

提交回复
热议问题