Skip to content

Commit

Permalink
support migrated wechat account (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
OldPanda authored Aug 28, 2024
1 parent 32e4a21 commit 429adb9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions userscript.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
// @match https://link.uisdc.com/?redirect=*
// @match https://mail.qq.com/cgi-bin/readtemplate*
// @match https://mp.weixin.qq.com/s/*
// @match https://mp.weixin.qq.com/s?*
// @match https://nga.178.com/read.php?*
// @match https://ref.gamer.com.tw/redir.php/url=*
// @match https://shimo.im/outlink/black?url=*
Expand Down Expand Up @@ -132,6 +133,7 @@ const fuckers = {
uisdc: { match: 'https://link.uisdc.com/?redirect=', redirect: "redirect" },
wechat1: { match: 'https://mp.weixin.qq.com/s/', redirect: enableURLs },
wechat2: { match: 'https://weixin110.qq.com/cgi-bin/mmspamsupport-bin/newredirectconfirmcgi', redirect: function () { window.location.replace($(".weui-msg__desc").first().text()) } },
wechat3: { match: 'https://mp.weixin.qq.com/s?', redirect: function () { let elem = $("#js_access_msg"); if (elem !== undefined && elem.attr("href") !== undefined) { window.location.replace(elem.attr("href")); } } },
// https://t.cn/RgAKoPE
// https://weibo.cn/sinaurl?luicode=10000011&lfid=230259&u=http%3A%2F%2Ft.cn%2FA6qHeVlf
// https://weibo.cn/sinaurl?toasturl=https%3A%2F%2Ftime.geekbang.org%2F
Expand Down

0 comments on commit 429adb9

Please sign in to comment.