mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 08:44:55 +08:00
feat: 同程旅行-全屏广告、评价提示 #1015
This commit is contained in:
@@ -5,22 +5,37 @@ export default defineGkdApp({
|
||||
name: '同程旅行',
|
||||
groups: [
|
||||
{
|
||||
key: 1,
|
||||
name: '分段广告-卡片广告',
|
||||
activityIds: 'com.tongcheng.android.TongchengMainActivity',
|
||||
key: 2,
|
||||
name: '全屏广告-弹窗广告',
|
||||
desc: '点击关闭',
|
||||
matchTime: 10000,
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
rules: [
|
||||
{
|
||||
key: 0,
|
||||
matches:
|
||||
'ViewGroup[childCount=2] > ImageView + ViewGroup[childCount=1] > ImageView',
|
||||
snapshotUrls: 'https://i.gkd.li/i/13167070',
|
||||
fastQuery: true,
|
||||
activityIds: '.TongchengMainActivity',
|
||||
matches: '[vid="iv_home_ad_close"][visibleToUser=true]',
|
||||
exampleUrls: 'https://e.gkd.li/25369e74-1527-4ca5-9f39-77930ee84d1e',
|
||||
snapshotUrls: 'https://i.gkd.li/i/20921290',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 3,
|
||||
name: '评价提示',
|
||||
matchTime: 10000,
|
||||
actionMaximum: 1,
|
||||
rules: [
|
||||
{
|
||||
preKeys: [0],
|
||||
key: 1,
|
||||
matches:
|
||||
'@* > * > [id="com.tongcheng.android:id/tv_home_banner_pop_up"][text="关闭"]',
|
||||
snapshotUrls: 'https://i.gkd.li/i/13167149',
|
||||
fastQuery: true,
|
||||
activityIds: '.TongchengMainActivity',
|
||||
matches: [
|
||||
'[text="给个好评鼓励下吧"][visibleToUser=true]',
|
||||
'[vid="iv_close"][visibleToUser=true]',
|
||||
],
|
||||
exampleUrls: 'https://e.gkd.li/60949e51-3d07-4eda-ab2d-9ff561d8b58c',
|
||||
snapshotUrls: 'https://i.gkd.li/i/20921292',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user