美文网首页
chrome 非安全模式解决开发跨域问题(windows与mas

chrome 非安全模式解决开发跨域问题(windows与mas

作者: who_are_you_ | 来源:发表于2019-07-26 15:50 被阅读0次

第一步:确保所有chrome浏览器都已经关闭

第二步:打开你的chrome浏览器(快捷方式)的属性窗口,再路径后面添加

--args --disable-web-security --user-data-dir

效果如下:

C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --args --disable-web-security --user-data-dir

image

第三步:打开浏览器,如果出现这个横幅,就说明非安全模式开启完成。

image

MAC 解除chrome安全模式

打开终端输入

open -a /Applications/Google\ Chrome.app --args --disable-web-security --user-data-dir

完事收工

相关文章

网友评论

      本文标题:chrome 非安全模式解决开发跨域问题(windows与mas

      本文链接:https://www.haomeiwen.com/subject/ipldrctx.html