#!name=节点 IP 质量检测 · 混合模式
#!desc=常用单项直接显示原生结果;多项检测进入 Rewrite v2 网页按需选择并合并展示。不修改现有 IP 质量检测插件。
#!openUrl=
#!author=MaYIHEI[https://github.com/MaYIHEI]
#!homepage=https://github.com/MaYIHEI/paperclip/tree/main/loon/ipquality-web-test
#!icon=https://raw.githubusercontent.com/MaYIHEI/paperclip/refs/heads/main/loon/ipquality-web-test/icon.png
#!loon_version=3.5.1(980)
#!tag=节点,IP,快捷检测,Rewrite v2
#!date=2026-08-04 01:00:00
[Rewrite]
response if ${url} ~= /^http:\/\/paperclip\.test\/ipquality(?:\?.*)?$/ then response.body.mock("html", `
节点 IP 自选检测报告设置
仅保存在本机选择检测项目
网页会记住本次选择
统一报告
各项仍可单独展开`, 200) | response.header.set(["Content-Type", "Cache-Control", "Content-Security-Policy", "X-Content-Type-Options"], ["text/html; charset=utf-8", "no-store, no-cache, must-revalidate", "default-src 'none'; style-src 'unsafe-inline'; script-src 'unsafe-inline'; connect-src 'self'; frame-src 'self'; img-src data:", "nosniff"])
[Script]
generic script-path=https://raw.githubusercontent.com/MaYIHEI/paperclip/refs/heads/main/loon/ipquality-web-test/ipquality-quick.js?ver=poc12, tag=IP 快速检测 · 基础信息, timeout=65, img-url=network.system, argument="basic", enable=true
generic script-path=https://raw.githubusercontent.com/MaYIHEI/paperclip/refs/heads/main/loon/ipquality-web-test/ipquality-quick.js?ver=poc12, tag=IP 快速检测 · 风险, timeout=65, img-url=shield.lefthalf.filled.system, argument="risk", enable=true
generic script-path=https://raw.githubusercontent.com/MaYIHEI/paperclip/refs/heads/main/loon/ipquality-web-test/ipquality-quick.js?ver=poc12, tag=IP 快速检测 · 流媒体与 AI, timeout=65, img-url=play.tv.fill.system, argument="media", enable=true
generic script-path=https://raw.githubusercontent.com/MaYIHEI/paperclip/refs/heads/main/loon/ipquality-web-test/ipquality-web-test.js?ver=poc12, tag=IP 自选检测 · 网页, timeout=10, img-url=safari.system, enable=true
http-request ^http:\/\/paperclip\.test\/ipquality\/api\/basic(?:\?.*)?$ script-path=https://raw.githubusercontent.com/MaYIHEI/paperclip/refs/heads/main/loon/ipquality-web-test/ipquality-web-module.js?ver=poc12, tag=IP 检测接口 · 基础信息, timeout=65, requires-body=false, argument="basic", enable=true
http-request ^http:\/\/paperclip\.test\/ipquality\/api\/types(?:\?.*)?$ script-path=https://raw.githubusercontent.com/MaYIHEI/paperclip/refs/heads/main/loon/ipquality-web-test/ipquality-web-module.js?ver=poc12, tag=IP 检测接口 · 类型属性, timeout=65, requires-body=false, argument="types", enable=true
http-request ^http:\/\/paperclip\.test\/ipquality\/api\/scores(?:\?.*)?$ script-path=https://raw.githubusercontent.com/MaYIHEI/paperclip/refs/heads/main/loon/ipquality-web-test/ipquality-web-module.js?ver=poc12, tag=IP 检测接口 · 风险评分, timeout=65, requires-body=false, argument="scores", enable=true
http-request ^http:\/\/paperclip\.test\/ipquality\/api\/factors(?:\?.*)?$ script-path=https://raw.githubusercontent.com/MaYIHEI/paperclip/refs/heads/main/loon/ipquality-web-test/ipquality-web-module.js?ver=poc12, tag=IP 检测接口 · 风险因素, timeout=65, requires-body=false, argument="factors", enable=true
http-request ^http:\/\/paperclip\.test\/ipquality\/api\/egress(?:\?.*)?$ script-path=https://raw.githubusercontent.com/MaYIHEI/paperclip/refs/heads/main/loon/ipquality-web-test/ipquality-web-module.js?ver=poc12, tag=IP 检测接口 · 出口分流, timeout=65, requires-body=false, argument="egress", enable=true
http-request ^http:\/\/paperclip\.test\/ipquality\/api\/bgp(?:\?.*)?$ script-path=https://raw.githubusercontent.com/MaYIHEI/paperclip/refs/heads/main/loon/ipquality-web-test/ipquality-web-module.js?ver=poc12, tag=IP 检测接口 · BGP 信息, timeout=65, requires-body=false, argument="bgp", enable=true
http-request ^http:\/\/paperclip\.test\/ipquality\/api\/bgppath(?:\?.*)?$ script-path=https://raw.githubusercontent.com/MaYIHEI/paperclip/refs/heads/main/loon/ipquality-web-test/ipquality-web-module.js?ver=poc12, tag=IP 检测接口 · BGP 路径, timeout=65, requires-body=false, argument="bgppath", enable=true
http-request ^http:\/\/paperclip\.test\/ipquality\/api\/speed(?:\?.*)?$ script-path=https://raw.githubusercontent.com/MaYIHEI/paperclip/refs/heads/main/loon/ipquality-web-test/ipquality-speed.js?ver=poc12, tag=IP 检测接口 · 节点 HTTPS 轻量测速, timeout=20, requires-body=false, enable=true
http-request ^http:\/\/paperclip\.test\/ipquality\/api\/inbound(?:\?.*)?$ script-path=https://raw.githubusercontent.com/MaYIHEI/paperclip/refs/heads/main/loon/ipquality-web-test/ipquality-web-module.js?ver=poc12, tag=IP 检测接口 · 入站路径, timeout=65, requires-body=false, argument="inbound", enable=true
http-request ^http:\/\/paperclip\.test\/ipquality\/api\/ping(?:\?.*)?$ script-path=https://raw.githubusercontent.com/MaYIHEI/paperclip/refs/heads/main/loon/ipquality-web-test/ipquality-web-module.js?ver=poc12, tag=IP 检测接口 · 三网探针延迟, timeout=65, requires-body=false, argument="ping", enable=true
http-request ^http:\/\/paperclip\.test\/ipquality\/api\/mtr(?:\?.*)?$ script-path=https://raw.githubusercontent.com/MaYIHEI/paperclip/refs/heads/main/loon/ipquality-web-test/ipquality-web-module.js?ver=poc12, tag=IP 检测接口 · MTR, timeout=65, requires-body=false, argument="mtr", enable=true
http-request ^http:\/\/paperclip\.test\/ipquality\/api\/stability(?:\?.*)?$ script-path=https://raw.githubusercontent.com/MaYIHEI/paperclip/refs/heads/main/loon/ipquality-web-test/ipquality-web-module.js?ver=poc12, tag=IP 检测接口 · HTTPS 稳定性, timeout=65, requires-body=false, argument="stability", enable=true
http-request ^http:\/\/paperclip\.test\/ipquality\/api\/media(?:\?.*)?$ script-path=https://raw.githubusercontent.com/MaYIHEI/paperclip/refs/heads/main/loon/ipquality-web-test/ipquality-web-module.js?ver=poc12, tag=IP 检测接口 · 流媒体与 AI, timeout=65, requires-body=false, argument="media", enable=true
http-request ^http:\/\/paperclip\.test\/ipquality\/api\/regions(?:\?.*)?$ script-path=https://raw.githubusercontent.com/MaYIHEI/paperclip/refs/heads/main/loon/ipquality-web-test/ipquality-web-module.js?ver=poc12, tag=IP 检测接口 · 地区一致性, timeout=65, requires-body=false, argument="regions", enable=true
http-request ^http:\/\/paperclip\.test\/ipquality\/api\/status(?:\?.*)?$ script-path=https://raw.githubusercontent.com/MaYIHEI/paperclip/refs/heads/main/loon/ipquality-web-test/ipquality-web-module.js?ver=poc12, tag=IP 检测接口 · 数据状态, timeout=65, requires-body=false, argument="status", enable=true