AjaxでChrome拡張機能ページにGETリクエストをした際に
以下のErrorが出て困っております。
Failed to load https://chrome.google.com/webstore/detail/hogehoge: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'chrome-extension://hogehoge' is therefore not allowed access.
解決策のわかる方はよろしくお願いいたします。
自分の考えだと、Chrome拡張機能のbackground.jsにheader("Access-Control-Allow-Origin: *"); なる設定をすれば良いと思うのですがその方法もよくわかっていません。
あなたの回答
tips
プレビュー