<all_urls> get changed into \u003Call_urls> when uploading to the Chrome store

﹥>﹥吖頭↗ 提交于 2021-01-29 16:23:56

问题


I have an extension that works well on my local, the manifest has those configuration:

"background": {
    "scripts": [ "js/tabCapture.js", "js/main.js" ],
    "persistent": false
},
"permissions": [ "desktopCapture", "tabs", "activeTab", "<all_urls>", "identity" ],

However, when uploading to Chrome store (successfully), I tried installing it but it didn't work any more. I checked the Extension tab and see no background page for my extension. Upon further investigation, I tried loading the extension folder and the manifest.json file of the downloaded extension is as follow:

   "background": {
      "persistent": false,
      "scripts": [ "js/tabCapture.js", "js/main.js" ]
   },
   "permissions": [ "desktopCapture", "tabs", "activeTab", "\u003Call_urls>", "identity" ],

As you see, "<all_urls>" has been turned into "\u003Call_urls>". Why is it happening, anyone has the same problem?

来源:https://stackoverflow.com/questions/53634329/all-urls-get-changed-into-u003call-urls-when-uploading-to-the-chrome-store

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!