fix(QQ邮箱): 邮件广告二次点击失效 (#1790)

* Update com.tencent.androidqqmail.ts

* Update com.tencent.androidqqmail.ts

* feat(QQ邮箱): 规则优化

---------

Co-authored-by: 二刺螈 <i@songe.li>

close #1776
This commit is contained in:
walklty
2023-11-04 01:15:13 +08:00
committed by GitHub
parent 046a86359e
commit 88cb4c1a2a

View File

@@ -2,7 +2,7 @@ import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.tencent.androidqqmail',
name: 'qq邮箱',
name: 'QQ邮箱',
groups: [
{
key: -1,
@@ -19,17 +19,19 @@ export default defineAppConfig({
rules: [
{
key: 0,
desc: '英文版邮箱广告',
name: '英文版邮箱广告-点击Ads',
matches: ['[id="com.tencent.androidqqmail:id/advertise_view_ad"]'],
snapshotUrls: 'https://i.gkd.li/import/12842757',
},
{
name: '英文版邮箱广告-点击Not interested',
preKeys: [0],
matches: '@FrameLayout > TextView[text="Not interested"]',
snapshotUrls: 'https://i.gkd.li/import/12842775',
},
{
key: 1,
name: '点击[广告]',
matches:
'LinearLayout > TextView + @LinearLayout[id!=null][clickable=true] > [text="广告"]',
snapshotUrls: 'https://i.gkd.li/import/12775857',
@@ -37,6 +39,9 @@ export default defineAppConfig({
{
preKeys: [1],
key: 9,
name: '点击[不感兴趣]',
actionDelay: 300,
action: 'clickCenter',
matches:
'[text="赞助商提供的广告"] < FrameLayout + @FrameLayout > [text="不感兴趣"]',
snapshotUrls: 'https://i.gkd.li/import/12775862',