订阅脚本 URL
一、对 URL 格式及其内容的要求
对 URL 格式的要求
- 文件上传至github库的,订阅地址 URL 必须以
http://raw
开头
- 文件上传至github库的,订阅地址 URL 必须以
对 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