Comments (5)
重新安装 Whistle 并重启,新版可以通过 lineProps://module
设置 type:
https://xxx js://xxx lineProps://module
也可以用来设置 defer
async
crossorigin
等
from whistle.
这样注入会有什么问题吗?js 注入还不支持,可以试试 html 协议:https://wproxy.org/whistle/rules/htmlAppend.html
from whistle.
普通的 js 直接被 script 标签包裹嵌入没有问题,但是如果 js 代码中包含 import 之类的 es 代码,script 标签上需要带上 type="module" 才可以执行,否则嵌入的 js 执行就出错了。
from whistle.
下个版本加上,你先用 https://wproxy.org/whistle/rules/htmlAppend.html 嵌入
from whistle.
下个版本加上,你先用 https://wproxy.org/whistle/rules/htmlAppend.html 嵌入
🙇♂️
from whistle.
Related Issues (20)
- 规则求教: 正则匹配之后的自动路径拼接 HOT 3
- 代理的接口有部分接口是404状态返回,确认接口没拼错 HOT 10
- 规则求教:匹配版本号 HOT 1
- 【求助】android代理whistle,会出现图片、视频上传失败的情况,只要把代理关了就可以上传成功了 HOT 5
- 华为鸿蒙可以安装whistle证书吗 HOT 1
- 有支持br压缩的计划吗 HOT 3
- whistle设置了代理之后手机说无法连接到互联网 HOT 6
- 2.9.70 版本rule(规则)优先级发生变化,在之前版本配置的规则失效 HOT 3
- whistle抓不到支付宝小程序的包 HOT 1
- 使用代理大量请求时Chrome浏览器请求会报错:net::ERR_HTTP2_PROTOCOL_ERROR HOT 7
- No such file or directory HOT 1
- plugin 中如何 使用 values? HOT 3
- /cgi-bin/get-data 的 ids 参数元素过多,导致 URI 地址过长 414 状态码 HOT 5
- ios17.4代理不到8899,换个ios17.3.1就可以 HOT 1
- Error: socket connect timeout HOT 9
- 插件怎么起一个websocket呢,插件UI需要监听返回数据,有没有例子
- 【插件】插件推荐 whistle.devtool
- 请问 resReplace 的 Values中 如果想将”a: 1“ 替换成”a: 2“ 要如何处理 HOT 2
- whistle可以不设置代理,直接作为mock服务器使用吗 HOT 5
- 能否多台电脑的whistle使用同一个HTTPS证书? HOT 3
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 whistle.