mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-22 01:35:32 +08:00
perf: Gmail-分段广告-信息流广告 #946
This commit is contained in:
@@ -7,47 +7,41 @@ export default defineGkdApp({
|
|||||||
{
|
{
|
||||||
key: 2,
|
key: 2,
|
||||||
name: '分段广告-信息流广告',
|
name: '分段广告-信息流广告',
|
||||||
|
fastQuery: true,
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
fastQuery: true,
|
|
||||||
key: -1,
|
|
||||||
name: '点击广告扩展-1',
|
|
||||||
matches:
|
|
||||||
'[id="com.google.android.gm:id/button_chip_ad_teaser_info_icon"]',
|
|
||||||
snapshotUrls: 'https://i.gkd.li/i/13255698',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
fastQuery: true,
|
|
||||||
key: 0,
|
key: 0,
|
||||||
name: '点击广告扩展-2',
|
matches:
|
||||||
matches: '[id="com.google.android.gm:id/basic_ad_teaser_info_icon"]',
|
'[id="com.google.android.gm:id/basic_ad_teaser_info_icon" || id="com.google.android.gm:id/button_chip_ad_teaser_info_icon"]',
|
||||||
snapshotUrls: 'https://i.gkd.li/i/13255698',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
preKeys: [-1, 0],
|
|
||||||
key: 1,
|
|
||||||
name: '广告中心-点击屏蔽',
|
|
||||||
matches: 'Button[text="屏蔽此广告"||text^="Block"]', // TODO fastQuery 优化改进 Button[text="屏蔽此广告"] <<n [id="com.google.android.gm:id/my_ad_center_dialog"]
|
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
'https://i.gkd.li/i/13255700',
|
'https://i.gkd.li/i/13255698',
|
||||||
'https://i.gkd.li/i/13724271',
|
'https://i.gkd.li/i/13255698',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
preKeys: 1,
|
preKeys: [0],
|
||||||
|
key: 1,
|
||||||
|
matches:
|
||||||
|
'Button[visibleToUser=true][text="屏蔽此广告" || text^="Block" || desc="屏蔽"] <<n [vid="my_ad_center_dialog"]',
|
||||||
|
snapshotUrls: [
|
||||||
|
'https://i.gkd.li/i/13255700',
|
||||||
|
'https://i.gkd.li/i/13724271',
|
||||||
|
'https://i.gkd.li/i/20585351',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
preKeys: [1],
|
||||||
key: 2,
|
key: 2,
|
||||||
name: '点击继续确认屏蔽',
|
matches:
|
||||||
matches: 'Button[text="继续"||text="Continue"]', // TODO Button[text="继续"] <<n [id="com.google.android.gm:id/design_bottom_sheet"]
|
'Button[visibleToUser=true][text="继续" || text="Continue"] <<n [id="com.google.android.gm:id/my_ad_center_dialog"]',
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
'https://i.gkd.li/i/13255701',
|
'https://i.gkd.li/i/13255701',
|
||||||
'https://i.gkd.li/i/13724287',
|
'https://i.gkd.li/i/13724287',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
preKeys: 2,
|
preKeys: [2],
|
||||||
key: 3,
|
key: 3,
|
||||||
fastQuery: true,
|
|
||||||
name: '关闭弹窗',
|
|
||||||
matches: '[id="com.google.android.gm:id/my_ad_center_close_icon"]',
|
matches: '[id="com.google.android.gm:id/my_ad_center_close_icon"]',
|
||||||
snapshotUrls: 'https://i.gkd.li/i/13263279',
|
snapshotUrls: 'https://i.gkd.li/i/13263279',
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user