#!name = iTunes系列解锁 #!desc = 自动查询 App 内购产品并注入最贵套餐凭证,可在设置中关闭。 #!author = Baby #!tag = 通杀脚本 #!icon = https://raw.githubusercontent.com/fishdown/Icon/refs/heads/master/app/RevenueCat.png [Argument] Enabled = input, "true", tag=启用解锁, desc=是否启用解锁(true拦截并注入凭证/false直接放行) Expires = input, "2099-09-09", tag=订阅到期日期, desc=格式YYYY-MM-DD(默认2099-09-09) Country = input, "HK", tag=App Store 国家/地区, desc=用于查询内购产品的 App Store 国家/地区代码 (两位大写字母, ISO 3166-1)。建议填该 App 在 App Store 的所属区域 (即你从哪个区下载的它): 国区 CN, 港区 HK, 美区 US。默认 HK 兼容性最好, 但国区独占/国区限定促销 App 必须填 CN, 否则注入的产品在该区未上架可能导致解锁失败。 [Script] request if ${url} ~= /^https:\/\/buy\.itunes\.apple\.com\/verifyReceipt/i then script("https://reven.jsforbaby.workers.dev/reven/loon-itunes.js", {${Enabled}, ${Expires}, ${Country}}) with tag="iTunes转发", requires_body=true [Mitm] hostname = buy.itunes.apple.com