设为首页 加入收藏

TOP

mac 本地跨域
2017-10-11 14:59:49 】 浏览:9570
Tags:mac 本地

完全退出chrome后终端下输入以下命令:

chrome49以前版本

open -a "Google Chrome" --args --disable-web-security

chrome49以后版本

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

Safari

open -a '/Applications/Safari.app' --args --disable-web-security

PS:Mac-->Chrome如果命令行不成功可以安装一个插件Allow-Control-Allow-Origin

】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇命令行添加subl命令 下一篇2016款MACBOOK PRO触控条版 安装W..

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目