问题
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