Cross-domain AJAX calls in Safari and Chrome

前端 未结 1 476
无人共我
无人共我 2020-12-28 18:03

Firefox and Internet Explorer both have settings where a user may enable forbidden cross-domain calls.

Is there a similar setting or option in Safari and/or Chrome?<

相关标签:
1条回答
  • 2020-12-28 18:40

    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.

    0 讨论(0)
提交回复
热议问题