0.0.3 • Published 10 months ago
whistle.children-encode v0.0.3
whistle.children-encode
儿保解密请求插件
- 安装 whistle
- 安装插件:
npm install -g whistle.children-encode
- 打开 whistle,点击菜单栏的
Plugins
,搜索children-encode
,勾选children-encode
- 点击菜单栏的
Rules
,新建一个规则使用代理 eg: https://10.201.xx.yy proxy://username:password@proxy-host:proxy-port 使用插件 eg: https://10.201.xx.yy children-encode:// pipe://children-encode
- 保存规则,刷新页面(页面需要使用 chrome 本地 overwrite 功能)
- chrome 打开 Sources 面板,找到对应的资源文件,右键点击
Override content
,然后使用本项目 overwrite 文件夹下面对应文件覆盖即可
开发测试
cd current.folder.path
w2 run
rules 设置
https://10.201.xx.yy children-encode:// pipe://children-encode
这样设置,就会把请求推送到插件里,然后可以在控制台打印 console.log 的内容