diff --git a/src/apps/com.zhima.currency.ts b/src/apps/com.zhima.currency.ts new file mode 100644 index 00000000..4dfa5b38 --- /dev/null +++ b/src/apps/com.zhima.currency.ts @@ -0,0 +1,39 @@ +import { defineGkdApp } from '@gkd-kit/define'; + +export default defineGkdApp({ + id: 'com.zhima.currency', + name: '汇率速查', + groups: [ + { + key: 1, + name: '全屏广告', + desc: '点击关闭', + rules: [ + { + key: 0, + fastQuery: true, + activityIds: [ + 'com.bytedance.sdk.openadsdk.core.component.reward.activity.TTFullScreenVideoActivity', + 'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity', + ], + matches: + '@ImageView[childCount=0] < ViewGroup[childCount=1] - ViewGroup > [text="反馈"][visibleToUser=true]', + exampleUrls: 'https://e.gkd.li/c07dc400-c222-4592-bf4e-9fa2227a1751', + snapshotUrls: [ + 'https://i.gkd.li/i/21910422', + 'https://i.gkd.li/i/21910423', + ], + }, + { + key: 1, + activityIds: + 'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity', + matches: + '@Image[childCount=0][width<70 && height<70] < View[childCount=1] < View[childCount=1] + View > [text="广告"][visibleToUser=true]', + exampleUrls: 'https://e.gkd.li/6dded2be-0407-488d-a0cc-4aca133f6fc0', + snapshotUrls: 'https://i.gkd.li/i/21910493', + }, + ], + }, + ], +});