@@ -10,11 +10,10 @@ const CommonPrefix =
1010
1111// 一些公共限制条件
1212const CommonIdPostfix = 'id!$="name" && id!$="Name" && text!^="@"' ;
13- const CommonPromptImpose = `[name!$=".CheckBox"&&name!$=".EditText"&&vid!$=".checkbox"]${ CommonPrefix } ` ;
1413
1514// 更新提示
16- const UpdatePromptText = `[text!*="自动" && text!*="自動" && text!*="成功" && text!*="失败" && text!*="失敗" && text!*="检查更新" && text!*="检测更新" && text!*="卸载"]${ CommonPromptImpose } ` ;
17-
15+ const UpdatePromptText = `[text!*="自动" && text!*="自動" && text!*="成功" && text!*="失败" && text!*="失敗" && text!*="检查更新" && text!*="检测更新" && text!*="卸载"]${ CommonPrefix } ` ;
16+ const UpdatePromptImpose = `[name!$=".CheckBox"&&name!$=".EditText"] ${ CommonPrefix } ` ;
1817const UpdatePromptId =
1918 'id*="close" || id*="Close" || id*="cancel" || id*="Cancel" || id*="update" || id*="Update"' ;
2019
@@ -26,7 +25,7 @@ export default defineGkdGlobalGroups([
2625 {
2726 key : 0 ,
2827 name : '开屏广告-全局关闭应用的开屏广告' ,
29- desc : '关闭应用的开屏广告 ' ,
28+ desc : '用于关闭大部分的应用开屏广告,勿关 ' ,
3029 disableIfAppGroupMatch : '开屏广告' ,
3130 order : OPEN_AD_ORDER ,
3231 fastQuery : true ,
@@ -38,20 +37,14 @@ export default defineGkdGlobalGroups([
3837 rules : [
3938 {
4039 key : 0 ,
41- // 防止页面触发
40+ // 停止如下页面触发
4241 excludeMatches :
43- '[text*="搜索"|| desc*="搜索"|| text="删除"||text="清楚"||text ^="猜你"|| text="历史记录"|| text$="在搜"][childCount=0][text.length<6][visibleToUser=true]' ,
42+ '[text*="搜索" || desc*="搜索" || text^="猜你" || text="历史记录" || text$="在搜"][childCount=0][text.length<6][visibleToUser=true]' ,
4443 action : 'clickCenter' ,
4544 anyMatches : [
46- '[text*="跳过"||text*="跳過"||text*="skip"||text*="Skip"][text.length<10][width<300][visibleToUser=true]' ,
47-
48- // '@View[clickable=true&&width=height&&visibleToUser=true] +(1,2) TextView[index=parent.childCount.minus(1)&&clickable=true] -n FrameLayout >(3+n) TextView[text*="跳转"||text*="第三方"||text*="点击"][visibleToUser=true]', // 字节SDK
49- '@View[clickable=true&&width=height&&visibleToUser=true] +(1,2) TextView[index=parent.childCount.minus(1)&&clickable=true] -n FrameLayout >(3+n)' , // 字节SDK
50-
51- 'FrameLayout[childCount>2][text=null][desc=null] > @View[text=null][clickable=true][childCount=0][visibleToUser=true][width<200&&height<200] +(1,2) TextView[index=parent.childCount.minus(1)][childCount=0][visibleToUser=true]' ,
52- '@ImageView[width=height&&visibleToUser=true] <2 ViewGroup + ViewGroup[index=parent.childCount.minus(1)] > [text="广告"]' , // https://i.gkd.li/i/23917114
53- '[desc*="跳过"||desc*="跳過"||desc*="skip"||desc*="Skip"][desc.length<10][width<300][visibleToUser=true]' ,
54- '[id*="skip"||id*="Skip"||id*="jump"||vid="btn_close"][text.length=null&&width<300][visibleToUser=true]' ,
45+ '[(text*="跳过" || text*="跳過" || text*="skip" || text*="Skip") && text.length<10 && width<300][visibleToUser=true]' ,
46+ '[(id*="skip" || id*="Skip" || id*="jump" || vid="btn_close") && text.length=null && width<300][visibleToUser=true]' ,
47+ '@View[clickable=true && width=height] +(1,2) TextView[index=parent.childCount.minus(1) && clickable=true] -(2,3,4) FrameLayout >(7,8,9) TextView[index=parent.childCount.minus(1) && text*="跳转"]' , // 字节SDK
5548 '@ImageView[clickable=true] - [text="|"] - [text$="s"]' ,
5649 ] ,
5750 } ,
@@ -65,22 +58,22 @@ export default defineGkdGlobalGroups([
6558 {
6659 key : 1 ,
6760 name : '更新提示-全局关闭应用的更新弹窗' ,
68- desc : '关闭应用的更新弹窗' ,
61+ desc : '关闭应用的更新弹窗;如有误触请反馈 ' ,
6962 disableIfAppGroupMatch : '更新提示' ,
7063 order : UPDATE_PROMPT_ORDER ,
7164 fastQuery : true ,
72- matchTime : 15000 ,
65+ matchTime : 10000 ,
7366 actionMaximum : 1 ,
7467 resetMatch : 'app' ,
7568 rules : [
7669 {
7770 key : 0 ,
78- // 防止页面触发
71+ // 停止如下页面触发
7972 excludeMatches :
80- '[text^="动态"||text="订阅更新"][name!$=".CheckBox"&&name!$=".EditText"&&vid!$=".checkbox" ][childCount=0][text.length<6][visibleToUser=true]' ,
73+ '[text^="动态"][childCount=0][text.length<6][visibleToUser=true]' ,
8174 matches : [
82- `[text*="更新"|| text*="新版" || desc*="新版" || text*="升级" || text*="体验" || text*="内测" || text*="测试版" || text*="內測" || text*="測試版" || text*="體驗" || text*="update" || text*="Update" || text*="Upgrade" || text*="Experience"]${ UpdatePromptText } ` ,
83- `[(text$="不再提醒" || text="不感兴趣" || text$="再说" || text$="拒绝" || desc*="关闭" || text$="再想想" || text*="再看看" || (( text^ ="忽略")&&text!="全部忽略") ||text^="暂不" || text^="放弃" || text^="取消" || desc^="取消" || text$="不要" || text$="再說" || text$="暫不" || text$="拒絕" || text*="稍后" || text^="下次" || text="No" || text$="Later" || text^="Ignore" || text^="Not now" || text^="Cancel")&&${ CommonIdPostfix } &&text.length<6 || ${ UpdatePromptId } ][top>360]${ CommonPromptImpose } ` ,
75+ `[text*="更新" || text*="新版" || desc*="新版" || text*="升级" || text*="体验" || text*="内测" || text*="测试版" || text*="內測" || text*="測試版" || text*="體驗" || text*="update" || text*="Update" || text*="Upgrade" || text*="Experience"]${ UpdatePromptText } ` ,
76+ `[(text$="不再提醒" || text="不感兴趣" || text$="再说" || text$="拒绝" || desc*="关闭" || text$="再想想" || text*="再看看" || text* ="忽略" || text^="暂不" || text^="放弃" || text^="取消" || desc^="取消" || text$="不要" || text$="再說" || text$="暫不" || text$="拒絕" || text*="稍后" || text^="下次" || text="No" || text$="Later" || text^="Ignore" || text^="Not now" || text^="Cancel")&&${ CommonIdPostfix } &&text.length<6 || ${ UpdatePromptId } ][top>360]${ UpdatePromptImpose } ` ,
8477 ] ,
8578 } ,
8679 ] ,
@@ -93,20 +86,23 @@ export default defineGkdGlobalGroups([
9386 {
9487 key : 2 ,
9588 name : '通知提示-全局关闭应用的弹窗提示' ,
96- desc : '关闭通知提示,权限提示,评价提示' ,
89+ desc : '关闭通知提示,权限提示,评价提示;如有问题请反馈 ' ,
9790 disableIfAppGroupMatch : '通知提示' ,
9891 order : NOTIFICATION_PROMPT ,
9992 fastQuery : true ,
100- actionMaximum : 1 ,
93+ actionMaximum : 3 ,
94+ resetMatch : 'app' ,
95+ actionMaximumKey : 0 ,
10196 rules : [
10297 {
10398 key : 0 ,
104- // 防止页面触发
99+ // 停止如下页面触发
100+ // https://i.gkd.li/i/20348505
105101 excludeMatches :
106- '[text^="我已阅读"|| text*="协议"||text$="设置"||text^="选商品"||text*="选择"||text*="更新"||text*="新版"||desc*="新版"||text^="发送"||text*=" 登录"|| text*="退款"|| text$="应用更新"||text^="删除"||text*="清除"||text*="清空"||text*="播放"||text="浏览器打开"||text$="分享文件"||text="加入黑名单"][name!$=".CheckBox"&&name!$=".EditText"&&vid!$=".checkbox "][childCount=0][visibleToUser=true]' ,
102+ '[text^="我已阅读" || text*="登录" || text*="退款" || text="应用管理 "][childCount=0][visibleToUser=true]' ,
107103 matches : [
108- `[text*="通知" || text=" 广告" || text$="模式" || text$="签到" || text*="是否满意" || text*="好评" || desc*="好评" || text*="评分" || text*="评价" || text*="推送" || text*="免费" || text*="立即" || text*="剪贴板" || text*="开启" || text*="定位" || text*="位置" || text*="调研" || text*="赞助" || desc*="官网" || text*="链接" || id$="image"]${ CommonPrefix } ` ,
109- `[(text^="暂不" || text^="暂时" || text$="继续使用" || text$="知道了" || desc$="知道了" ||(( text="取消") &&top>200)|| text="关闭" || desc="关闭" || text^="我已知晓" || text*="拒绝"||(( text^ ="忽略")&&text!="全部忽略")|| text^="不再" || text$="再说" || text="不允许" || text*="不了" || text^="下次" || text="不,谢谢" || text="考虑一下" || text="没兴趣" || text="我没空" || text="關閉" || text="确定" || text="收到" || text="隐藏" || text="否" || text="返回")&&${ CommonIdPostfix } &&text.length<6]${ CommonPromptImpose } ` ,
104+ `[text*="通知" || text*="权限" || text*="公告" || text=" 广告" || text$="模式" || text$="签到" || text*="喜欢" || text*=" 是否满意" || text*="好评" || desc*="好评" || text*="评分" || text*="评价" || text*="获取" || text*="消息" || text*="使用" || text*="推荐" || text*="发现" || text*=" 推送" || text*="第一时间" || text*=" 免费" || text*="立即" || text*="剪贴板" || text*="开启" || text="去设置" || text *="使用" || text*=" 定位" || text*="位置" || text*="内容" || text*=" 调研" || text*="赞助" || text$="提示" || desc$="提示" || desc *="官网" || text*="交流 " || text*="链接" || id$="image"]${ CommonPrefix } ` ,
105+ `[(text^="暂不" || text^="暂时" || text$="继续使用" || text$="知道了" || desc$="知道了" || ( text="取消"&&top>200) || text="关闭" || text^="我已知晓" || text*="拒绝" || text* ="忽略" || text^="不再" || text$="再说" || text="不允许" || text*="不了" || text^="下次" || text="不,谢谢" || text="考虑一下" || text="没兴趣" || text="我没空" || text="關閉" || text="确定" || text="收到" || text="隐藏" || text="否" || text="返回")&&${ CommonIdPostfix } &&text.length<6]${ CommonPrefix } ` ,
110106 ] ,
111107 } ,
112108 ] ,
0 commit comments