@@ -10,10 +10,11 @@ const CommonPrefix =
1010
1111// 一些公共限制条件
1212const CommonIdPostfix = 'id!$="name" && id!$="Name" && text!^="@"' ;
13+ const CommonPromptImpose = `[name!$=".CheckBox"&&name!$=".EditText"&&vid!$=".checkbox"]${ CommonPrefix } ` ;
1314
1415// 更新提示
15- const UpdatePromptText = `[text!*="自动" && text!*="自動" && text!*="成功" && text!*="失败" && text!*="失敗" && text!*="检查更新" && text!*="检测更新" && text!*="卸载"]${ CommonPrefix } ` ;
16- const UpdatePromptImpose = `[name!$=".CheckBox"&&name!$=".EditText"] ${ CommonPrefix } ` ;
16+ const UpdatePromptText = `[text!*="自动" && text!*="自動" && text!*="成功" && text!*="失败" && text!*="失敗" && text!*="检查更新" && text!*="检测更新" && text!*="卸载"]${ CommonPromptImpose } ` ;
17+
1718const UpdatePromptId =
1819 'id*="close" || id*="Close" || id*="cancel" || id*="Cancel" || id*="update" || id*="Update"' ;
1920
@@ -25,7 +26,7 @@ export default defineGkdGlobalGroups([
2526 {
2627 key : 0 ,
2728 name : '开屏广告-全局关闭应用的开屏广告' ,
28- desc : '用于关闭大部分的应用开屏广告,勿关 ' ,
29+ desc : '关闭应用的开屏广告 ' ,
2930 disableIfAppGroupMatch : '开屏广告' ,
3031 order : OPEN_AD_ORDER ,
3132 fastQuery : true ,
@@ -37,14 +38,20 @@ export default defineGkdGlobalGroups([
3738 rules : [
3839 {
3940 key : 0 ,
40- // 停止如下页面触发
41+ // 防止页面触发
4142 excludeMatches :
42- '[text*="搜索" || desc*="搜索" || text^="猜你" || text="历史记录" || text$="在搜"][childCount=0][text.length<6][visibleToUser=true]' ,
43+ '[text*="搜索"|| desc*="搜索"|| text="删除"||text="清楚"||text ^="猜你"|| text="历史记录"|| text$="在搜"][childCount=0][text.length<6][visibleToUser=true]' ,
4344 action : 'clickCenter' ,
4445 anyMatches : [
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
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]' ,
4855 '@ImageView[clickable=true] - [text="|"] - [text$="s"]' ,
4956 ] ,
5057 } ,
@@ -58,22 +65,22 @@ export default defineGkdGlobalGroups([
5865 {
5966 key : 1 ,
6067 name : '更新提示-全局关闭应用的更新弹窗' ,
61- desc : '关闭应用的更新弹窗;如有误触请反馈 ' ,
68+ desc : '关闭应用的更新弹窗' ,
6269 disableIfAppGroupMatch : '更新提示' ,
6370 order : UPDATE_PROMPT_ORDER ,
6471 fastQuery : true ,
65- matchTime : 10000 ,
72+ matchTime : 15000 ,
6673 actionMaximum : 1 ,
6774 resetMatch : 'app' ,
6875 rules : [
6976 {
7077 key : 0 ,
71- // 停止如下页面触发
78+ // 防止页面触发
7279 excludeMatches :
73- '[text^="动态"][childCount=0][text.length<6][visibleToUser=true]' ,
80+ '[text^="动态"||text="订阅更新"][name!$=".CheckBox"&&name!$=".EditText"&&vid!$=".checkbox" ][childCount=0][text.length<6][visibleToUser=true]' ,
7481 matches : [
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 } ` ,
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 } ` ,
7784 ] ,
7885 } ,
7986 ] ,
@@ -86,23 +93,20 @@ export default defineGkdGlobalGroups([
8693 {
8794 key : 2 ,
8895 name : '通知提示-全局关闭应用的弹窗提示' ,
89- desc : '关闭通知提示,权限提示,评价提示;如有问题请反馈 ' ,
96+ desc : '关闭通知提示,权限提示,评价提示' ,
9097 disableIfAppGroupMatch : '通知提示' ,
9198 order : NOTIFICATION_PROMPT ,
9299 fastQuery : true ,
93- actionMaximum : 3 ,
94- resetMatch : 'app' ,
95- actionMaximumKey : 0 ,
100+ actionMaximum : 1 ,
96101 rules : [
97102 {
98103 key : 0 ,
99- // 停止如下页面触发
100- // https://i.gkd.li/i/20348505
104+ // 防止页面触发
101105 excludeMatches :
102- '[text^="我已阅读" || text*="登录" || text*="退款" || text="应用管理 "][childCount=0][visibleToUser=true]' ,
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]' ,
103107 matches : [
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 } ` ,
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 } ` ,
106110 ] ,
107111 } ,
108112 ] ,
0 commit comments