From 5fb618b869383a74ba2b19d524ce66beaae79413 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?changjin=20wei=28=E9=AD=8F=E6=98=8C=E8=BF=9B=29?= Date: Sat, 29 Mar 2025 17:07:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E4=B8=9A=E5=BE=AE=E4=BF=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- background.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/background.js b/background.js index 08ed82e..0c76de6 100644 --- a/background.js +++ b/background.js @@ -11,6 +11,7 @@ const redirectMap = { "hd.nowcoder.com": { testHref: "https://hd.nowcoder.com/link.html?target=https://github.com/galaxy-sea/AutoRedirector" }, "link.uisdc.com": { testHref: "https://link.uisdc.com/?redirect=https://github.com/galaxy-sea/AutoRedirector" }, "link.gitcode.com": { testHref: "https://link.gitcode.com/?target=https://pan.baidu.com/s/1inUf78Arw9prA-Q4-zpdPQ" }, + "open.work.weixin.qq.com": { testHref: "https://open.work.weixin.qq.com/wwopen/uriconfirm?uri=https://github.com/galaxy-sea/AutoRedirector" }, // 需要判断域名和路径 "www.jianshu.com": { path: "/go-wild", testHref: "https://www.jianshu.com/go-wild?ac=2&url=https://github.com/galaxy-sea/AutoRedirector" }, @@ -86,7 +87,7 @@ const redirectMap = { const defaultConfig = { method: redirectByUrl, - param: ["target", "url", "q", "gourl", "u", "redirect", "toasturl", "link", "href", "pfurl"] + param: ["target", "url", "q", "gourl", "u", "redirect", "toasturl", "link", "href", "pfurl","uri"] }; async function handleRedirect(tabId, url) {