Comments (2)
因为chrome最新版本对跨域的权限锁紧,建议组合改变浏览器跨域设置的插件
https://chrome.google.com/webstore/detail/allow-cors-access-control/lhobafahddgcelffkeicbaginigeejlf/related?hl=zh-CN
一起使用
from xswitch.
因为chrome最新版本对跨域的权限锁紧,建议组合改变浏览器跨域设置的插件 https://chrome.google.com/webstore/detail/allow-cors-access-control/lhobafahddgcelffkeicbaginigeejlf/related?hl=zh-CN 一起使用
我使用chrome版本: 108.0.5359.99
, 该方式对我的使用场景无效.
我的使用场景: 浏览器访问线上环境, 拦截请求到本机开发环境进行debug
目前尝试了一种方式成功了, 原文链接
步骤
- 新建文件夹
C:\MyChromeUserData
- 新建chrome快捷方式, 右键属性, "目标" 后追加
--allow-file-access-from-files --user-data-dir="C:\MyChromeUserData" --disable-web-security
(开头有空格)
from xswitch.
Related Issues (20)
- wss、ws 请求无法转发 HOT 1
- 快捷键跟语雀的冲突,后续解决
- 希望左侧已添加的rule能修改名字? HOT 3
- 开启后转发错误 (failed) net::ERR_FAILED HOT 1
- CPU占用高 HOT 4
- release issue HOT 1
- 测试了下baidu.com跨域失败 请问是我配置不对吗?
- 可以更改host指向吗 HOT 1
- 按照视频做,跨域失败
- feature: 如果能处理接口返回的数据就更好了
- Chrome memory cache 和 disk cache 失效 HOT 1
- 能发一份到微软 Edge 应用商店么?
- 能限定规则在指定域名下生效么
- 能够支持配置同步吗?
- 请问能修改get请求参数吗
- 转发之后cookie请求就不再带有该参数了
- 请问一下如何把线上的 main.[hash].js 转发到 本地的 main.[hash].js,本地和线上hash不一致?
- authorization header 不携带 HOT 4
- 跨域至本地的端口被其他程序占用,也会造成跨域失败
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xswitch.