V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
isbase
V2EX  ›  问与答

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

  •  
  •   isbase · 2016-06-24 19:09:55 +08:00 · 1116 次点击
    这是一个创建于 2928 天前的主题,其中的信息可能已经有所发展或是发生改变。




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


    这样还是相同的错误😓
    gangsta
        3
    gangsta  
       2016-06-24 21:29:06 +08:00
    manifest 文件名前面多了一个空格
    isbase
        4
    isbase  
    OP
       2016-06-24 21:34:32 +08:00
    @gangsta
    @Biwood

    最后发现是 manifest 文件的权限问题
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2558 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 13:29 · PVG 21:29 · LAX 06:29 · JFK 09:29
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.