Tre*_*one 6 google-maps google-chrome google-chrome-app
我正在尝试在Chrome应用中使用Google地图.每当我尝试加载javascript时,我都会收到错误消息:
"Refused to load the script 'https://maps.googleapis.com/maps/api/js?key=Key&sensor=true' because it violates the following Content Security Policy directive: "default-src 'self' chrome-extension-resource:". Note that 'script-src' was not explicitly set, so 'default-src' is used as a fallback."
我想过尝试使用webview或沙盒,但是我遇到了问题.沙箱有一个问题,因为我也正在对服务进行http请求,而不存在"Access-Control-Allow-Origin"标头.
| 归档时间: |
|
| 查看次数: |
1723 次 |
| 最近记录: |