Google Chrome Extension - Script Injections

后端 未结 4 866
暗喜
暗喜 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条回答
  •  孤城傲影
    2020-12-07 23:19

    1. In your manifest file, "manifest_version": 2 is specified. This automatically activates a stricter mode, in which all extension's files are not available to web pages by default.
    2. Your original code would never work, because the
提交回复
热议问题