mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 16:54:43 +08:00
perf: 华为天气
This commit is contained in:
@@ -25,9 +25,39 @@ export default defineGkdApp({
|
|||||||
key: 1,
|
key: 1,
|
||||||
name: '局部广告-卡片广告',
|
name: '局部广告-卡片广告',
|
||||||
quickFind: true,
|
quickFind: true,
|
||||||
|
rules: [
|
||||||
|
{
|
||||||
|
key: 2,
|
||||||
|
activityIds: [
|
||||||
|
'com.huawei.android.totemweather.WeatherMainActivity',
|
||||||
|
'com.huawei.android.totemweather.WeatherHome',
|
||||||
|
],
|
||||||
|
matches:
|
||||||
|
'[id="com.huawei.android.totemweather:id/ad_cancel"][visibleToUser=true]',
|
||||||
|
snapshotUrls: [
|
||||||
|
'https://i.gkd.li/i/13521221',
|
||||||
|
'https://i.gkd.li/i/13787501',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 2,
|
||||||
|
name: '分段广告-卡片广告',
|
||||||
|
quickFind: true,
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
key: 0,
|
key: 0,
|
||||||
|
activityIds: 'com.huawei.android.totemweather.WeatherMainActivity',
|
||||||
|
matches: '[vid="rl_close_pps"][visibleToUser=true]',
|
||||||
|
snapshotUrls: [
|
||||||
|
'https://i.gkd.li/i/13800100',
|
||||||
|
'https://i.gkd.li/i/14278462', // 使用visibleToUser=true防止在此页面误触
|
||||||
|
'https://i.gkd.li/i/15831584',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 1,
|
||||||
activityIds:
|
activityIds:
|
||||||
'com.huawei.android.totemweather.composite.MarketCompositeActivity',
|
'com.huawei.android.totemweather.composite.MarketCompositeActivity',
|
||||||
matches:
|
matches:
|
||||||
@@ -35,40 +65,13 @@ export default defineGkdApp({
|
|||||||
snapshotUrls: 'https://i.gkd.li/i/13218197',
|
snapshotUrls: 'https://i.gkd.li/i/13218197',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
preKeys: 0,
|
preKeys: [0, 1],
|
||||||
key: 1,
|
key: 99,
|
||||||
activityIds: 'com.huawei.openalliance.ad.activity.FeedbackActivity',
|
activityIds: 'com.huawei.openalliance.ad.activity.FeedbackActivity',
|
||||||
matches:
|
matches: '[text="直接关闭"]',
|
||||||
'[id="com.huawei.android.totemweather:id/feedback_negative_flv"] > [text="直接关闭"]',
|
|
||||||
snapshotUrls: 'https://i.gkd.li/i/13259434',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
key: 2,
|
|
||||||
activityIds: 'com.huawei.android.totemweather.WeatherMainActivity',
|
|
||||||
matches:
|
|
||||||
'[id="com.huawei.android.totemweather:id/ad_cancel"][visibleToUser=true]',
|
|
||||||
snapshotUrls: 'https://i.gkd.li/i/13521221',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
key: 3,
|
|
||||||
activityIds: 'com.huawei.android.totemweather.WeatherHome',
|
|
||||||
matches: '[id="com.huawei.android.totemweather:id/ad_cancel"]',
|
|
||||||
snapshotUrls: 'https://i.gkd.li/i/13787501',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
key: 2,
|
|
||||||
name: '局部广告-顶部卡片广告',
|
|
||||||
rules: [
|
|
||||||
{
|
|
||||||
key: 0,
|
|
||||||
quickFind: true,
|
|
||||||
activityIds: 'com.huawei.android.totemweather.WeatherMainActivity',
|
|
||||||
matches: '@ImageView[visibleToUser=true] < [vid="rl_close_pps"]',
|
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
'https://i.gkd.li/i/13800100',
|
'https://i.gkd.li/i/13259434',
|
||||||
'https://i.gkd.li/i/14278462', // 使用visibleToUser=true防止在此页面误触
|
'https://i.gkd.li/i/15831539',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user