🆕 移除失效的 muhan、neu6、ipscore、ipwhois(旧)
新增 ipwhois(新), ipapiis(支持 PRIVACY)
- ❤️3
netartyoudaoobfs=http 为 obfs=vmess-http / obfs=shadowsocks-httpThe obfs=http for shadowsocks protocol follows the shadowsocks project's simple-obfs plugin. The obfs=http for VMess protocol follows V2Ray's implementation. These 2 obfuscations are totally different. Sometimes to comply with your special server settings (「shadowsocks」 + 「http obfuscation of VMess」 or 「VMess」 + 「http obfuscation of shadowsocks」. The latter rarely happens, and the former happens when the server side deployed by V2Ray (or similar programs) with shadowsocks protocol and V2Ray built-in http obfuscation), you may set obfs=vemss-http for shadowsocks protocol, or obfs=shadowsocks-http for vmess protocol.
if($server.type == 'ss' && $server['plugin-opts']?.mode === 'http'){
$server['plugin-opts'].mode = 'vmess-http'
// $server['plugin-opts'].mode = 'shadowsocks-http'
}qixinbaidu, 去除 designkitqifu-api.baidubce.com163 和 designkitdashi.163.com 和 webapi.designkit.com
DOMESTIC_IPv4:spcn (请设置分流 DOMAIN-SUFFIX,speedtest.cn )ipim (请设置分流 DOMAIN-SUFFIX,ip.im )ali (将阿里云 IP 服务的 APPCODE 填到 DOMESTIC_IPv4_KEY )ipplus (请设置分流 DOMAIN-SUFFIX,ip.plus )
cip , bilibili , 126 , ipip , ip233 , pingan , muhan DOMESTIC_IPv4_KEY:, 分隔DIRECT(如图2). 如需修改, 可使用 Script Hub 中的 高级操作 功能里的 处理转换后的内容(代码) , 设置策略为你想要的分流, 例如 国内代理(如图3, 4)body = body.replace(/,DIRECT/g, ',国内代理')
DOMAIN-SUFFIX,speedtest.cnip-version=v4-only (以 文档确实不详细(
http://127.0.0.1:9090)[task_local] 下粘贴:event-network https://raw.githubusercontent.com/xream/scripts/main/surge/modules/network-info/net-lsp-x.js, tag=网络信息变化 𝕏, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Global.png, enabled=true
event-interaction https://raw.githubusercontent.com/xream/scripts/main/surge/modules/network-info/net-lsp-x.js, tag=网络信息 𝕏, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Global.png, enabled=true
reddit.js 见 https://t.me/zhetengsha/651reddit.stoverride name: "Reddit"
desc: "过滤推广, 关 subreddit 的 NSFW 提示 @xream"
http:
script:
- match: ^https?:\/\/gql\.reddit\.com
name: "Reddit_3"
type: response
timeout: 30
require-body: true
max-size: 3145728
mitm:
- "gql.reddit.com"
script-providers:
"Reddit_3":
url: https://gist.githubusercontent.com/[gist username]/[gist ID]/raw/reddit.js
interval: 86400
💾 如图保存reddit.js RAW 按钮 得到 外链地址 形如 https://gist.githubusercontent.com/[gist username]/[gist ID]/raw/[gist commit ID]/[file name]
然后删掉 [gist commit ID] 的部分https://gist.githubusercontent.com/[gist username]/[gist ID]/raw/[file name]
这个就是这个 gist 文件 最新版的固定链接 了https://gist.githubusercontent.com/[gist username]/[gist ID]/raw/reddit.js
替换掉 reddit.stoverride 里的 url 部分即可reddit.stoverride 文件的 最新版的固定链接 就能在 Stash 里使用了