diff --git a/src/apps/com.google.android.gm.ts b/src/apps/com.google.android.gm.ts new file mode 100644 index 00000000..b632fe3a --- /dev/null +++ b/src/apps/com.google.android.gm.ts @@ -0,0 +1,43 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.google.android.gm', + name: 'Gmail', + groups: [ + { + key: 2, + name: '信息流广告', + rules: [ + { + quickFind: true, + key: -1, + name: '点击广告扩展-1', + matches: + '[id="com.google.android.gm:id/button_chip_ad_teaser_info_icon"]', + snapshotUrls: 'https://i.gkd.li/import/13255698', + }, + { + quickFind: true, + key: 0, + name: '点击广告扩展-2', + matches: '[id="com.google.android.gm:id/basic_ad_teaser_info_icon"]', + snapshotUrls: 'https://i.gkd.li/import/13255698', + }, + { + preKeys: [-1, 0], + key: 1, + name: '广告中心-点击屏蔽', + matches: 'Button[text="屏蔽此广告"]', // TODO quickFind 优化改进 Button[text="屏蔽此广告"] <