#!name=Scriptable 链接转 Scripting #!desc=把 scriptable:// 安装链接改写为 scripting://,并给 Loon 的远程导入按钮各加一个“本地模块”按钮。 #!author=Scripting [Rewrite] # scriptable:// → scripting:// ^https?://scripthub\.vercel\.app/ response-body-replace-regex scriptable:///run_single/ scripting://run_single/ ^https?://scripthub\.vercel\.app/ response-body-replace-regex scriptable:///run/ scripting://run/ ^https?://scripthub\.vercel\.app/ response-body-replace-regex scriptable:/// scripting:// ^https?://scripthub\.vercel\.app/ response-body-replace-regex scriptable:// scripting:// ^https?://scripthub\.vercel\.app/ response-body-replace-regex (:href="[^"]*ModuleDock[^"]*")\s+target="_blank" $1 ^https?://scripthub\.vercel\.app/ response-body-replace-regex (:href="[^"]*openloon/import\?plugin=[^"]*")\s+target="_blank" $1 ^https?://scripthub\.vercel\.app/ response-body-replace-regex (:href="[^"]*install-override\?url=[^"]*")\s+target="_blank" $1 ^https?://scripthub\.vercel\.app/ response-body-replace-regex (:href="[^"]*shadowrocket/install\?module=[^"]*")\s+target="_blank" $1 # 按钮文案 ^https?://scripthub\.vercel\.app/ response-body-replace-regex Scriptable\) Scripting) # 响应头 ^https?://scripthub\.vercel\.app/ response-header-replace-regex Location scriptable:/// scripting:// [Script] http-response ^https?://scripthub\.vercel\.app/ script-path=https://raw.githubusercontent.com/Zerolost/scripting-script/main/ModuleDock/local-module.js,tag=ScriptHubLocalModule,requires-body=true,timeout=10,enable=true [MITM] hostname = scripthub.vercel.app