Skip to content

Commit

Permalink
rules: Fixed cn.bing.com/search rule; Added git.io & [`mandrillap…
Browse files Browse the repository at this point in the history
  • Loading branch information
PRO-2684 committed Nov 12, 2024
1 parent 77987f7 commit 00c1673
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
7 changes: 7 additions & 0 deletions shortener.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@
"author": "PRO-2684"
}
},
"git.io/": {
"/\\.+": {
"description": "GitHub 短链",
"mode": "redirect",
"author": "PRO-2684"
}
},
"link.logonews.cn/": {
"/\\w+": {
"description": "标志情报局短链",
Expand Down
13 changes: 12 additions & 1 deletion tracking.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@
"q",
"filters",
"ensearch",
"first"
"first",
"ubiroff"
],
"author": "PRO-2684"
},
Expand Down Expand Up @@ -146,6 +147,16 @@
"author": "青墨"
}
},
"mandrillapp.com/": {
"track/": {
"click": {
"description": "Mandrill",
"mode": "lambda",
"lambda": "const b64 = url.searchParams.get('p'); const bytes = Uint8Array.from(atob(b64), (m) => m.codePointAt(0)); const payload = JSON.parse(new TextDecoder().decode(bytes)); const params = JSON.parse(payload.p); return new URL(params.url);",
"author": "PRO-2684"
}
}
},
"mp.weixin.qq.com/": {
"s": {
"description": "微信公众号文章",
Expand Down

0 comments on commit 00c1673

Please sign in to comment.