Google Chrome Extension - Script Injections

后端 未结 4 867
暗喜
暗喜 2020-12-07 23:04

I\'m trying to get my Chrome Extension to inject some javascript with content_scripts, using this previous answer as a reference.

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-07 23:25

    In addition to the answers above I notice that in your contentscript.js you are just adding another script i.e script.js Why don't you directly add script.js through content_scripts in manifest.json.

提交回复
热议问题