From 3891fdb8c5937d2572cebe40f1c33b85aa34a5b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=B6=E6=80=9D=28=E2=B8=9D=E2=B8=9D=E2=80=A2=E2=80=A7?= =?UTF-8?q?=CC=AB=E2=80=A2=E2=B8=9D=E2=B8=9D=29?= <57740735+fmz200@users.noreply.github.com> Date: Mon, 27 Apr 2026 12:21:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E5=BB=BA=20RedditTranslation.module?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Surge/module/RedditTranslation.module | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Surge/module/RedditTranslation.module diff --git a/Surge/module/RedditTranslation.module b/Surge/module/RedditTranslation.module new file mode 100644 index 00000000..e6aec1b9 --- /dev/null +++ b/Surge/module/RedditTranslation.module @@ -0,0 +1,9 @@ +#!name=Reddit 自动翻译 +#!desc=自动注入 x-reddit-translations 开启 Reddit App 翻译功能 +#!author=RavelloH + +[Script] +Reddit自动翻译 = type=http-request, pattern=^https?:\/\/gql(-fed)?\.reddit\.com, script-path=https://gist.github.com/RavelloH/68ed0626dae69a1ce7c8ad6887087ea1/raw/c008127260bc4dcd550fcd98285048cf6176f602/main.js + +[MITM] +hostname = %APPEND% gql.reddit.com, gql-fed.reddit.com \ No newline at end of file