简体   繁体   English

Safari和Chrome中的跨域AJAX调用

[英]Cross-domain AJAX calls in Safari and Chrome

Firefox and Internet Explorer both have settings where a user may enable forbidden cross-domain calls. Firefox和Internet Explorer都具有用户可以启用禁止的跨域调用的设置。

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: 不确定safari,但Chrome有一个命令行开关:

chrome.exe --disable-web-security

You can view a full list (as of when it was posted!) of command line options for chrome here . 您可以在此处查看chrome命令行选项的完整列表(截至发布时!)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM