mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 08:44:55 +08:00
feat(百度贴吧): 开屏广告-规则优化 (#1740)
This commit is contained in:
@@ -9,37 +9,25 @@ export default defineAppConfig({
|
|||||||
name: '开屏广告',
|
name: '开屏广告',
|
||||||
desc: '数字倒计时广告,圆形倒计时广告',
|
desc: '数字倒计时广告,圆形倒计时广告',
|
||||||
quickFind: true,
|
quickFind: true,
|
||||||
activityIds: [
|
matchTime: 10000,
|
||||||
'com.baidu.tieba.tblauncher.MainTabActivity',
|
actionMaximum: 1,
|
||||||
'com.baidu.tieba.pb.pb.main.PbActivity',
|
resetMatch: 'app',
|
||||||
'com.baidu.tieba.frs.FrsActivity',
|
|
||||||
],
|
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
key: 0,
|
key: 0,
|
||||||
matches:
|
matches: 'TextView[text^="跳过"][text.length<=10]',
|
||||||
'[id="com.kwad.dy.sdk:id/ksad_splash_circle_skip_view"] TextView[text="跳过"]', // 需要补充快照
|
snapshotUrls: [
|
||||||
|
'https://i.gkd.li/import/12775906',
|
||||||
|
'https://i.gkd.li/import/12566191',
|
||||||
|
'https://i.gkd.li/import/12870916',
|
||||||
|
'https://i.gkd.li/import/13233500',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{ key: 1, matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]' }, // 需要补充快照
|
{ key: 1, matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]' }, // 需要补充快照
|
||||||
{
|
|
||||||
key: 2,
|
|
||||||
matches:
|
|
||||||
'TextView[text*="广告"||text.length=1] - TextView[text^="跳过"][text.length=5||text.length=2]',
|
|
||||||
snapshotUrls: [
|
|
||||||
'https://i.gkd.li/import/12775906',
|
|
||||||
'https://gkd-kit.gitee.io/import/12566191',
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
key: 3,
|
key: 3,
|
||||||
matches:
|
matches:
|
||||||
'@FrameLayout[childCount=1][clickable=true][id!=null] > TextView[text="跳过"]',
|
'TextView[text="广告"] - @LinearLayout[clickable=true] > [text="关闭"]',
|
||||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12870916',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
key: 4,
|
|
||||||
matches:
|
|
||||||
'TextView[text="广告"] - @LinearLayout[clickable=true] [text="关闭"]',
|
|
||||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/13168386',
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/13168386',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user