Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
后端
2.19.30- 简单实现了
SUB_STORE_MMDB_CRON 定时更新 MMDBASN 需要设置环境变量
SUB_STORE_MMDB_ASN_PATH, SUB_STORE_MMDB_ASN_URLCOUNTRY 需要设置环境变量
SUB_STORE_MMDB_COUNTRY_PATH, SUB_STORE_MMDB_COUNTRY_URL以后再优化...
感谢 @Momiji233 的建议
- 脚本中新增
ProxyUtils.downloadFile 方便下载二进制文件Please open Telegram to view this post
VIEW IN TELEGRAM
后端
2.19.31 前端 2.15.17- 忽略失败的远程选择支持开启通知(如图)
文件的远程也支持
感谢 @Momiji233 的建议
Please open Telegram to view this post
VIEW IN TELEGRAM
Sub-Store 小课堂: 根据 Surge 已解锁的功能输出不同的配置
详见 频道消息
在 Sub-Store 中, 可以创建一个文件, 如图. 根据 Surge 已解锁的功能输出不同的配置
🤭 Sub-Store 合集
🥰 #SubStore #Sub-Store #小课堂 #tips #配置 #解锁 #功能 #托管 #脚本
在最新的 iOS 版本中,为 Surge 的托管配置、外部资源和模块 HTTP 请求,新增了 X-Surge-Unlocked-Features 字段,用于服务器判定 Surge 已解锁的功能以区分返回结果
详见 频道消息
在 Sub-Store 中, 可以创建一个文件, 如图. 根据 Surge 已解锁的功能输出不同的配置
const headers = $options?._req?.headers
const features = (headers?.['x-surge-unlocked-features'] || headers?.['X-Surge-Unlocked-Features'])?.split(/\s*,\s*/)
console.log(features)
// 如果包含某个功能
if (features?.includes('encrypted-dns')) {
// 就修改内容
$content = $content.replace(/a/,'b')
}
Please open Telegram to view this post
VIEW IN TELEGRAM
❤4
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
前端
2.15.19- 修复从剪贴板导入节点操作时丢失自定义操作名称的问题
感谢群友 用户 881031632 的反馈
Please open Telegram to view this post
VIEW IN TELEGRAM
❤1
前端
2.15.20- 修复从剪贴板导入节点操作时丢失自定义操作名称的问题
上次没修好
感谢群友 用户 881031632 的反馈
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
GitHub - xishang0128/sparkle: :electron: Another Mihomo GUI. (🛠building...)
:electron: Another Mihomo GUI. (🛠building...). Contribute to xishang0128/sparkle development by creating an account on GitHub.
后端
2.19.38- 兼容亚托莉佬 https://github.com/xishang0128/sparkle 的 JavaScript 覆写
-
ProxyUtils 新增 Buffer , Base64具体可查看
demo.js 变更部分Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
后端
2.19.40- 修复 Surge/Loon VMess aead
感谢老张的反馈
Please open Telegram to view this post
VIEW IN TELEGRAM
- 检测入口 脚本支持使用正则从响应获取数据
使用场景: 从网页响应中获取某些信息, 自定义节点名称
举例: 把节点名从繁体转为简体
https://translate.google.com/m?sl=zh-tw&tl=zh-cn&hl=zh-cn&q={{proxy.name}}a:<div class="result-container">(.+?)<\/div>{{api.a}}Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
👍2❤1
前端
2.15.21- 修复
Surge(macOS) 选项感谢群友 @yyhhyyyyyy 的 PR!
Please open Telegram to view this post
VIEW IN TELEGRAM