“Unexpected end of JSON input” when parsing JSON from another file in a Chrome extension

后端 未结 0 1804
太阳男子
太阳男子 2021-01-28 12:14

I am trying to access a local JSON file in my Chrome extension from the background script with an XMLHttpRequest.

background.js:

// Cross-browser support
w         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题