CORS Chrome Extension with manifest version 2

前端 未结 3 1254
花落未央
花落未央 2020-12-03 10:40

Is it possible to use CORS when writing a google chrome extension?

I saw this, http://developer.chrome.com/extensions/contentSecurityPolicy.html

And I tried

3条回答
  •  既然无缘
    2020-12-03 11:12

    Add the header Access-Control-Allow-Origin: * to the response of your remote server if possible. Here is a tutorial for various backend servers: add CORS support to backend server

提交回复
热议问题