mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 00:35:17 +08:00
fix(奇妙应用) 局部广告-卡片式广告(修复误触)
This commit is contained in:
@@ -12,24 +12,31 @@ export default defineAppConfig({
|
||||
key: 0,
|
||||
name: '腾讯广告',
|
||||
activityIds: [
|
||||
'com.magicalstory.AppStore.search.searchActivity',
|
||||
'com.magicalstory.AppStore.appDetails.AppDetailsActivity',
|
||||
'com.magicalstory.AppStore.main.fragments.square.section.forumDetailsActivity',
|
||||
],
|
||||
matches: [
|
||||
'[id^="com.magicalstory.AppStore:id/banner"]',
|
||||
'FrameLayout[childCount=5] > FrameLayout[childCount=1] > ImageView[visibleToUser=true]',
|
||||
],
|
||||
excludeActivityIds: 'com.magicalstory.AppStore.search.searchActivity', // 排除搜索页,搜索页的规则见 key: 1
|
||||
matches:
|
||||
'[visibleToUser=true] - [vid^="banner"] >n FrameLayout[childCount=5] > FrameLayout[childCount=1] > @ImageView[visibleToUser=true] < FrameLayout +2 *[visibleToUser=true]',
|
||||
snapshotUrls: [
|
||||
'https://i.gkd.li/import/13185746',
|
||||
'https://i.gkd.li/import/13413482',
|
||||
'https://i.gkd.li/import/13416979',
|
||||
'https://i.gkd.li/import/13527698',
|
||||
'https://i.gkd.li/import/13759492', // 限定 visibleToUser, 防止误触
|
||||
'https://i.gkd.li/import/14273176', // 限定 visibleToUser, 防止误触
|
||||
'https://i.gkd.li/import/14273317', // 限定 visibleToUser, 防止误触
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 1,
|
||||
name: '腾讯广告-搜索页面',
|
||||
activityIds: 'com.magicalstory.AppStore.search.searchActivity',
|
||||
matches:
|
||||
'FrameLayout[childCount=5] > FrameLayout[childCount=1] > @ImageView[visibleToUser=true] < FrameLayout +2 *[visibleToUser=true]',
|
||||
snapshotUrls: 'https://i.gkd.li/import/13185746',
|
||||
},
|
||||
{
|
||||
key: 2,
|
||||
quickFind: true,
|
||||
activityIds: 'com.magicalstory.AppStore.main.MainActivity',
|
||||
matches: '[id="com.magicalstory.AppStore:id/button_close_ad"]',
|
||||
|
||||
Reference in New Issue
Block a user