isbase
0.31D
V2EX  ›  问与答

chrome 扩展加载出错但是完全看不出问题在哪里

  •  
  •   isbase · Jun 24, 2016 · 1786 views
    This topic created in 3784 days ago, the information mentioned may be changed or developed.




    关键它不告诉哪里出错了,没有任何线索提供,实在检查不出哪里有问题
    4 replies  •  2016-06-24 21:34:32 +08:00
    Biwood
    Biwood
    Jun 24, 2016 via Android
    1
    manifest 版本都没指定,为什么不安装官方教程来写呢
    isbase
    isbase
    OP
    Jun 24, 2016
    2
    @Biwood {
    "name": "hello",
    "version": "2.1",
    "manifest_version": 2,
    "description": "Gets information from Google.",
    "content_scripts": [
    {
    "matches": ["http://*.zimuzu.tv/*"],
    "js": ["copyLink.js"]
    }
    ]
    }


    这样还是相同的错误😓
    gangsta
    gangsta
    Jun 24, 2016
    3
    manifest 文件名前面多了一个空格
    isbase
    isbase
    OP
    Jun 24, 2016
    4
    @gangsta
    @Biwood

    最后发现是 manifest 文件的权限问题
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1558 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 17:43 · PVG 01:43 · LAX 09:43 · JFK 12:43
    ♥ Do have faith in what you're doing.