diff --git a/.changeset/hip-books-give.md b/.changeset/hip-books-give.md new file mode 100644 index 0000000..9fb7bde --- /dev/null +++ b/.changeset/hip-books-give.md @@ -0,0 +1,5 @@ +--- +'remove-redirect': patch +--- + +优化腾讯兔小巢判断逻辑 diff --git a/packages/remove-redirect/src/sites/qq.com.ts b/packages/remove-redirect/src/sites/qq.com.ts index 206225e..596bb9e 100644 --- a/packages/remove-redirect/src/sites/qq.com.ts +++ b/packages/remove-redirect/src/sites/qq.com.ts @@ -96,6 +96,7 @@ const sites: SiteModule = [ ** - https://txc.qq.com/products/606094/faqs-more?id=149310 ** - https://txc.qq.com/products/606094/blog/777398 ** - https://txc.qq.com/products/606094/link-jump?jump=https%3A%2F%2Fgithub.com%2Fmaomao1996%2Ftampermonkey-scripts + ** - https://txc.qq.com/embed/phone/606094/link-jump?jump=https%3A%2F%2Fgithub.com%2Fmaomao1996%2Ftampermonkey-scripts ** ** - https://support.qq.com/products/1368 ******************************************************************************/ @@ -108,7 +109,7 @@ const sites: SiteModule = [ queryName: 'jump', }, autojump: { - validator: ({ pathname }) => /^\/products\/\d+\/link-jump$/.test(pathname), + validator: ({ pathname }) => /\/link-jump$/.test(pathname), queryName: 'jump', }, },