From 27c060ac1eee5a53d04042a111880e91248f7258 Mon Sep 17 00:00:00 2001 From: cjy0812 Date: Thu, 12 Feb 2026 02:06:33 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=E6=88=98=E6=9C=BA=E5=85=AC?= =?UTF-8?q?=E5=8F=B8=E8=81=94=E6=9C=BA=20=E5=85=A8=E5=B1=8F=E5=B9=BF?= =?UTF-8?q?=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ....inc.online.bomber.fighter.aircraft.ww2.ts | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/apps/com.DL.war.planes.inc.online.bomber.fighter.aircraft.ww2.ts diff --git a/src/apps/com.DL.war.planes.inc.online.bomber.fighter.aircraft.ww2.ts b/src/apps/com.DL.war.planes.inc.online.bomber.fighter.aircraft.ww2.ts new file mode 100644 index 000000000..2f5cd2237 --- /dev/null +++ b/src/apps/com.DL.war.planes.inc.online.bomber.fighter.aircraft.ww2.ts @@ -0,0 +1,31 @@ +import { defineGkdApp } from '@gkd-kit/define'; + +export default defineGkdApp({ + id: 'com.DL.war.planes.inc.online.bomber.fighter.aircraft.ww2', + name: 'Warplane Inc. Online', + groups: [ + { + key: 1, + name: '全屏广告', + rules: [ + { + activityIds: [ + 'com.yandex.mobile.ads.common.AdActivity', + 'com.applovin.adview.AppLovinFullscreenActivity', + ], + matches: [ + '[text="AD"] <<2 ViewGroup + ImageView[index=parent.childCount.minus(1)][clickable=true][visibleToUser=true]', + 'ViewGroup[childCount=3] >2 ImageView[index=parent.childCount.minus(1)][clickable=true][visibleToUser=true]', + '[id="android:id/content"] > FrameLayout[childCount=2] >2 View[index=parent.childCount.minus(1)][visibleToUser=true]', + ], + snapshotUrls: [ + 'https://i.gkd.li/i/25241260', + 'https://i.gkd.li/i/25241058', + 'https://i.gkd.li/i/25241244', + 'https://i.gkd.li/i/25241191', + ], + }, + ], + }, + ], +}); From 6da2011f71149cc1f8035b9763149e342f782dd1 Mon Sep 17 00:00:00 2001 From: AIsouler Date: Thu, 12 Feb 2026 20:23:53 +0800 Subject: [PATCH 2/2] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ....inc.online.bomber.fighter.aircraft.ww2.ts | 36 +++++++++++-------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/src/apps/com.DL.war.planes.inc.online.bomber.fighter.aircraft.ww2.ts b/src/apps/com.DL.war.planes.inc.online.bomber.fighter.aircraft.ww2.ts index 2f5cd2237..192dc25cd 100644 --- a/src/apps/com.DL.war.planes.inc.online.bomber.fighter.aircraft.ww2.ts +++ b/src/apps/com.DL.war.planes.inc.online.bomber.fighter.aircraft.ww2.ts @@ -9,21 +9,27 @@ export default defineGkdApp({ name: '全屏广告', rules: [ { - activityIds: [ - 'com.yandex.mobile.ads.common.AdActivity', - 'com.applovin.adview.AppLovinFullscreenActivity', - ], - matches: [ - '[text="AD"] <<2 ViewGroup + ImageView[index=parent.childCount.minus(1)][clickable=true][visibleToUser=true]', - 'ViewGroup[childCount=3] >2 ImageView[index=parent.childCount.minus(1)][clickable=true][visibleToUser=true]', - '[id="android:id/content"] > FrameLayout[childCount=2] >2 View[index=parent.childCount.minus(1)][visibleToUser=true]', - ], - snapshotUrls: [ - 'https://i.gkd.li/i/25241260', - 'https://i.gkd.li/i/25241058', - 'https://i.gkd.li/i/25241244', - 'https://i.gkd.li/i/25241191', - ], + key: 0, + fastQuery: true, + activityIds: 'com.yandex.mobile.ads.common.AdActivity', + matches: + '@ImageView[index=parent.childCount.minus(1)][clickable=true][visibleToUser=true] < ViewGroup <3 ViewGroup <2 ViewGroup +5 [text="Learn more"]', + snapshotUrls: 'https://i.gkd.li/i/25241260', + }, + { + key: 1, + fastQuery: true, + activityIds: 'com.yandex.mobile.ads.common.AdActivity', + matches: '@ImageView - ViewGroup >2 [text="AD"][visibleToUser=true]', + snapshotUrls: 'https://i.gkd.li/i/25241244', + }, + { + key: 2, + fastQuery: true, + activityIds: 'com.applovin.adview.AppLovinFullscreenActivity', + matches: + 'View[childCount=0] < @FrameLayout[clickable=true][childCount=1] <2 FrameLayout < [id="android:id/content"]', + snapshotUrls: 'https://i.gkd.li/i/25241191', }, ], },