Can I disable SOP (Same Origin Policy) on any browser for development?

前端 未结 10 1236
天涯浪人
天涯浪人 2020-11-27 14:54

I want to develop JavaScript on my Windows machine. Do you know a browser where I can turn off Same Origin Policy so I can develop locally? Firefox would be optimal

10条回答
  •  不知归路
    2020-11-27 15:15

    Firefox would be optimal.

    If you can live with Internet Explorer, you may be able to use an .hta application

    http://msdn.microsoft.com/en-us/library/ms536496(VS.85).aspx

    (This is one of the ways the Selenium test automation tool deals with the issue)

提交回复
热议问题