Opera 是否支持 Access-Control-Allow-Origin 标头?
我正在编写一个greasemonkey 脚本,使用jquery $.ajax 来获取json 数据和motity DOM。
我在我的服务器脚本中添加了一个 Access-Control-Allow-Origin:* 头,它在当前版本的 chrome 和 firefox 中工作正常,但在 Opera 中不行。
有什么想法吗?
I'm writing a greasemonkey script, using jquery $.ajax to get a json data and motify the DOM.
I add a Access-Control-Allow-Origin:* head in my server script, it works fine in current version chrome and firefox, but not opera.
Any idea?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Opera 预计将在版本 12(撰写本文时尚未发布)中添加对 CORS 的支持 )。
更新:Opera 12 支持 CORS。
Opera is expected to add support for CORS in version 12 (which has not been released at the time of writing).
update: Opera 12 supports CORS.