Skip to content

Commit

Permalink
fix(kill-watermark): 优化腾讯兔小巢判断逻辑
Browse files Browse the repository at this point in the history
  • Loading branch information
maomao1996 committed Aug 9, 2024
1 parent ed7ea54 commit 77a1779
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/hip-books-give.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'remove-redirect': patch
---

优化腾讯兔小巢判断逻辑
3 changes: 2 additions & 1 deletion packages/remove-redirect/src/sites/qq.com.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
******************************************************************************/
Expand All @@ -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',
},
},
Expand Down

0 comments on commit 77a1779

Please sign in to comment.