File tree Expand file tree Collapse file tree
packages/remove-redirect/src/sites Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ ' remove-redirect ' : patch
3+ ---
4+
5+ 优化 PC 版 QQ 自动跳转验证规则
Original file line number Diff line number Diff line change @@ -63,13 +63,15 @@ const sites: SiteModule = [
6363 ** - https://c.pc.qq.com/pc.html?url=https%3A%2F%2Fgithub.com%2Fmaomao1996%2Ftampermonkey-scripts
6464 ** - https://c.pc.qq.com/ios.html?url=https%3A%2F%2Fgithub.com%2Fmaomao1996%2Ftampermonkey-scripts
6565 ** - https://c.pc.qq.com/android.html?url=https%3A%2F%2Fgithub.com%2Fmaomao1996%2Ftampermonkey-scripts
66+ ** - https://c.pc.qq.com/middlect.html?pfurl=https%3A%2F%2Fgithub.com%2Fmaomao1996%2Ftampermonkey-scripts
6667 ******************************************************************************/
6768 [
6869 'PC 版 QQ' ,
6970 'c.pc.qq.com' ,
7071 {
7172 autojump : {
72- validator : ( { pathname } ) => / ^ \/ ( m i d d l e b | m i d d l e m | p c | i o s | a n d r o i d ) \. h t m l $ / . test ( pathname ) ,
73+ // validator: ({ pathname }) => /^\/(middleb|middlem|pc|ios|android)\.html$/.test(pathname),
74+ validator : ( { pathname } ) => / ^ \/ [ a - z ] + \. h t m l $ / . test ( pathname ) ,
7375 queryName : [ 'pfurl' , 'url' ] ,
7476 } ,
7577 } ,
You can’t perform that action at this time.
0 commit comments