mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 09:15:11 +08:00
feat(最右): 开屏广告
This commit is contained in:
@@ -4,6 +4,43 @@ export default defineGkdApp({
|
||||
id: 'cn.xiaochuankeji.tieba',
|
||||
name: '最右',
|
||||
groups: [
|
||||
{
|
||||
key: -1,
|
||||
name: '开屏广告',
|
||||
quickFind: true,
|
||||
matchTime: 10000,
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
actionMaximumKey: 0,
|
||||
rules: [
|
||||
{
|
||||
key: 0,
|
||||
matches: '[text*="跳过"][text.length<10][visibleToUser=true]',
|
||||
snapshotUrls: [
|
||||
'https://i.gkd.li/i/15858014',
|
||||
'https://i.gkd.li/i/15858024',
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 1,
|
||||
matches:
|
||||
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][visibleToUser=true] + TextView[text=null] <<n [id="android:id/content"]',
|
||||
snapshotUrls: 'https://i.gkd.li/i/15858023',
|
||||
},
|
||||
{
|
||||
key: 2,
|
||||
position: {
|
||||
left: 'width * 0.8903',
|
||||
top: 'width * 0.1342',
|
||||
},
|
||||
matches: '[vid="contentView"][visibleToUser=true]',
|
||||
snapshotUrls: [
|
||||
'https://i.gkd.li/i/15856190',
|
||||
'https://i.gkd.li/i/15858008',
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 1,
|
||||
name: '更新提示',
|
||||
@@ -14,17 +51,20 @@ export default defineGkdApp({
|
||||
{
|
||||
matches:
|
||||
'[id="cn.xiaochuankeji.tieba:id/btn_ok"][text^="马上升级"] + [id="cn.xiaochuankeji.tieba:id/btn_cancel"][text="取消"]',
|
||||
snapshotUrls: ['https://i.gkd.li/i/12660882'],
|
||||
snapshotUrls: 'https://i.gkd.li/i/12660882',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 2,
|
||||
name: '青少年模式',
|
||||
matchTime: 10000,
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
rules: [
|
||||
{
|
||||
matches: '[text$="青少年模式"] + [text$="知道了"]',
|
||||
snapshotUrls: ['https://i.gkd.li/i/12660929'],
|
||||
snapshotUrls: 'https://i.gkd.li/i/12660929',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -38,14 +78,14 @@ export default defineGkdApp({
|
||||
key: 1,
|
||||
matches:
|
||||
'[id="cn.xiaochuankeji.tieba:id/hh_hermes_ad_tag"] + [id="cn.xiaochuankeji.tieba:id/iv_close"][clickable=true]',
|
||||
snapshotUrls: ['https://i.gkd.li/i/12661011'],
|
||||
snapshotUrls: 'https://i.gkd.li/i/12661011',
|
||||
},
|
||||
{
|
||||
preKeys: [1],
|
||||
key: 2,
|
||||
matches:
|
||||
'[id="cn.xiaochuankeji.tieba:id/iv_dislike_reason"] + LinearLayout > [text="不感兴趣"]',
|
||||
snapshotUrls: ['https://i.gkd.li/i/12661028'],
|
||||
snapshotUrls: 'https://i.gkd.li/i/12661028',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -60,12 +100,12 @@ export default defineGkdApp({
|
||||
{
|
||||
matches:
|
||||
'[id="cn.xiaochuankeji.tieba:id/confirm"][text="打开通知"] + [id="cn.xiaochuankeji.tieba:id/cancel"][text="暂不开启"]',
|
||||
snapshotUrls: ['https://i.gkd.li/i/12660823'],
|
||||
snapshotUrls: 'https://i.gkd.li/i/12660823',
|
||||
},
|
||||
{
|
||||
matches:
|
||||
'[text^="开启通知"] +(2) [id="cn.xiaochuankeji.tieba:id/tips_close"]',
|
||||
snapshotUrls: ['https://i.gkd.li/i/12660851'],
|
||||
snapshotUrls: 'https://i.gkd.li/i/12660851',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user