g0ngjie / ajax-proxy Goto Github PK
View Code? Open in Web Editor NEW:bulb: Browser extension for Chromium kernel. For modifying your Ajax responses
License: MIT License
:bulb: Browser extension for Chromium kernel. For modifying your Ajax responses
License: MIT License
比如我想把原url作为参数传递给重定向的url?
地址栏输入:https://v2.siar.us/aditv/livestream/chunks.m3u8
实际请求:https://live.fanmingming.com/player/?vurl=https://v2.siar.us/aditv/livestream/chunks.m3u8
注:通常我使用正则匹配原地址 /^http[^?]+m3u8$/
现在的代理,实际上只有对响应体的修改。
一些情况下,是需要对请求体做一定修改的,是否考虑支持?目前好像 setup 有三个参数,第一个就是 req,但是实际上并未用到。
目前我的谷歌版本是116.0.5845.96,使用当前插件的拦截器拦截请求后,网络会疯狂的发送请求,且拦截不生效,mock数据不生效。
My current version of Google is 116.0.5845.96, after intercepting a request with the current plugin's blocker, the network will send requests like crazy, and the intercept does not work, mock data does not work.
插件在 <html>
里面的头部插入了一个 type="module"
的脚本,导致后面使用 <script type="importmap">
浏览器报错。
更新后拦截响应失效,设置匹配规则为正则,列表仍然显示为普通
同过函数修改响应体,比如返回的响应体是 JSON,但是并不想全部重写整个内容,只修改其中某个字段的值,其他字段仍按原来的
实现了一些小功能,比如插件收费数据劫持,直接vip
自动添加当前页面 中某一类的请求例如 /api/xxxxx ,默认响应数据为真实请求的返回结果; (作者是否考虑添加这么一个功能?)
想用正则匹配不同环境。试着使用:
*://xxx.com/abc? 这种。结果是不work的。
版本2.2.1
对比使用Ajax Interceptor 是可以的
安装了 ajax-interceptor-tools、Mock:Intercept and directly return data 这类扩展时,本扩展不生效。
在某些情况需要验证200、201、400、500的状态码
环境: macos edge 浏览器
新增若干个接口之后,并且新增若干个标签,关闭的时候选中某个标签。 关闭时间不能确定,重新再次打开插件,切换其他标签数据,发现数据为空, 不知道其他人有没有遇到过这个问题?
确实存在问题,无法拦截,尝试切换以及刷新均不生效
能否上传下page/index.html的vue源码,想借鉴下学习消息通信
每次编辑的时候,不小心点到旁边弹窗关闭了信息都丢失了。
问题出现的网址(输入账户密码后点击登录就出错):
https://www.bt.cn/bbs/member.php?mod=logging&action=login
实测,关闭全局拦截(或没有开启任何拦截规则) 均会报错。
只有禁止插件运行,才能正常登录。
使用重定向功能,在转发后的请求中会去除自定义的请求头,目前测试2.1.0和2.1.4会有这个问题,使用1.9.8正常。
浏览器版本:Microsoft Edge
版本 106.0.1370.30 (正式版本) beta (64 位)
F12中数据没变化,但是js代码中接收到的数据变化了,是否是因为只是做了 JS 层的数据转换,并非是网络层的拦截,所有F12 抓包的数据还是之前的返回,期待作者回复
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.