mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 17:25:11 +08:00
feat(今日头条): 竖版视频广告-规则优化 (#1452)
* feat(今日头条): 竖版视频广告 * feat(今日头条): 竖版视频广告 * feat(今日头条): 竖屏视频广告-规则优化 --------- Co-authored-by: shanlan <hi@gobyte.cn> Co-authored-by: lisonge <i@songe.li>
This commit is contained in:
@@ -65,6 +65,14 @@ export default defineAppConfig({
|
|||||||
desc: '检测到广告时,点击右上角[更多]图标按钮,出现菜单,点击不感兴趣',
|
desc: '检测到广告时,点击右上角[更多]图标按钮,出现菜单,点击不感兴趣',
|
||||||
activityIds: 'com.ss.android.ugc.detail.activity.TikTokActivity',
|
activityIds: 'com.ss.android.ugc.detail.activity.TikTokActivity',
|
||||||
rules: [
|
rules: [
|
||||||
|
{
|
||||||
|
key: -1,
|
||||||
|
preKeys: [0, 1, 2, 3],
|
||||||
|
name: '点击不感兴趣',
|
||||||
|
matches:
|
||||||
|
'@LinearLayout[clickable=true] > RelativeLayout + TextView[text="不感兴趣"]',
|
||||||
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/12679277',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
key: 0,
|
key: 0,
|
||||||
name: '点击右上角[更多]图标按钮',
|
name: '点击右上角[更多]图标按钮',
|
||||||
@@ -85,11 +93,18 @@ export default defineAppConfig({
|
|||||||
snapshotUrls: ['https://gkd-kit.gitee.io/import/12733281'],
|
snapshotUrls: ['https://gkd-kit.gitee.io/import/12733281'],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
preKeys: [0, 1],
|
key: 2,
|
||||||
name: '点击不感兴趣',
|
name: '第二种广告界面;点击右上角[更多]图标按钮',
|
||||||
matches:
|
matches:
|
||||||
'@LinearLayout[clickable=true] > RelativeLayout + TextView[text="不感兴趣"]',
|
'@ImageView[clickable=true][desc="更多"] <n RelativeLayout -2 RelativeLayout >n TextView[text$="广告"]',
|
||||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12679277',
|
snapshotUrls: ['https://gkd-kit.gitee.io/import/13185633'],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 3,
|
||||||
|
name: '第三种广告界面;点击右上角[更多]图标按钮',
|
||||||
|
matches:
|
||||||
|
'@ImageView[clickable=true][desc="更多"] <n RelativeLayout +2 LinearLayout > TextView[text$="广告"]',
|
||||||
|
snapshotUrls: ['https://gkd-kit.gitee.io/import/13186082'],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user