Skip to content

订阅脚本 URL

一、对 URL 格式及其内容的要求

  • 对 URL 格式的要求

    • 文件上传至github库的,订阅地址 URL 必须以 http://raw 开头
  • 对 URL 内容的要求

    • 必须包含一条或以上脚本语句

    • 可以写有 hostname = 的语句

二、URL 内容示范

http-request ^https?:\/\/(www.)?(example)\.com script-path=localscript.js,tag = requestScript,enable=true
http-response ^https?:\/\/(www.)?(example)\.com script-path=https://example.com/loon.js,timeout=10,requires-body = true,tag = responseScript,enable=true
cron "0 8 * * *" script-path=cron.js,tag = responseScript,enable=true

hostname = example1.com,example2.com

三、URL 实例文件示范

https://raw.githubusercontent.com/chiupam/Proxy/master/Loon/Remote_Script_Example.conf

四、获取正确的 URL 链接的方法

image

image

image

Loon官网,Loon客户端下载,Loon机场推荐,Loon使用教程.本站仅为技术交流,请遵守当地法律法规