在Safari和Chrome跨域AJAX调用 [英] Cross-domain AJAX calls in Safari and Chrome
本文介绍了在Safari和Chrome跨域AJAX调用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Firefox和Internet Explorer都有设置里,用户可以使禁止跨域调用。
Firefox and Internet Explorer both have settings where a user may enable forbidden cross-domain calls.
有没有在Safari和/或Chrome类似的设置或选项?
Is there a similar setting or option in Safari and/or Chrome?
推荐答案
不知道关于Safari浏览器,而Chrome有一个命令行开关这样的:
Not sure about safari, but Chrome has a command line switch for this:
chrome.exe --disable-web-security
您可以查看的镀铬这里命令行选项。
You can view a full list (as of when it was posted!) of command line options for chrome here.
这篇关于在Safari和Chrome跨域AJAX调用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文