mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 01:04:53 +08:00
feat(Gmail): 信息流广告 (#1828)
* feat(Gmail): 信息流广告 * chore(actions): check_format_lint * feat(Gmail): 信息流广告 --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: lisonge <i@songe.li> close #1816
This commit is contained in:
43
src/apps/com.google.android.gm.ts
Normal file
43
src/apps/com.google.android.gm.ts
Normal file
@@ -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="屏蔽此广告"] <<n [id="com.google.android.gm:id/my_ad_center_dialog"]
|
||||||
|
snapshotUrls: 'https://i.gkd.li/import/13255700',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
preKeys: 1,
|
||||||
|
key: 2,
|
||||||
|
name: '点击继续确认屏蔽',
|
||||||
|
matches: 'Button[text="继续"]', // TODO Button[text="继续"] <<n [id="com.google.android.gm:id/design_bottom_sheet"]
|
||||||
|
snapshotUrls: 'https://i.gkd.li/import/13255701',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user