fix: qq误触 #1214

This commit is contained in:
AIsouler
2025-10-06 14:33:58 +08:00
parent 04bd16f8ca
commit a8cffd0139
2 changed files with 1 additions and 99 deletions

View File

@@ -480,7 +480,7 @@ const appDeprecatedKeys: RawDeprecatedKeysSetting[] = [
{
id: 'com.tencent.mobileqq',
name: 'QQ',
deprecatedKeys: [6, 8, 15, 14, 19],
deprecatedKeys: [6, 8, 9, 15, 14, 19, 21, 23],
},
{
id: 'com.tencent.qqlive',

View File

@@ -135,40 +135,6 @@ export default defineGkdApp({
key: 3,
name: '全屏广告-弹窗广告',
rules: [
{
key: 0,
fastQuery: true,
activityIds: [
'com.tencent.mobileqq.activity.SplashActivity',
'com.tencent.qqlive.module.videoreport.inject.dialog.ReportDialog',
],
matches:
'ImageView[id="com.tencent.mobileqq:id/close"][clickable=true]',
snapshotUrls: [
'https://i.gkd.li/i/13206663',
'https://i.gkd.li/i/12642081',
],
},
{
key: 2,
name: '钱包页面弹窗广告',
activityIds: 'cooperation.qwallet.plugin.QWalletToolFragmentActivity',
matches: '[desc="弹窗推荐活动"] + [desc="关闭"]',
exampleUrls:
'https://m.gkd.li/57941037/11e8f456-4c88-431a-ad58-f626bee61df9',
snapshotUrls: 'https://i.gkd.li/i/14822290',
},
{
key: 3,
name: '黄钻页面弹窗广告',
activityIds: 'com.tencent.mobileqq.activity.QQBrowserActivity',
matches:
'TextView[text.length=0&&clickable=true&&visibleToUser=true] + View > Button[text.length=0&&focusable=true]',
snapshotUrls: [
'https://i.gkd.li/i/12914978',
'https://i.gkd.li/i/12914886',
],
},
{
key: 4,
fastQuery: true,
@@ -275,27 +241,6 @@ export default defineGkdApp({
},
],
},
{
key: 9,
name: '局部广告-浮窗广告',
activityIds: 'com.tencent.mobileqq.activity.QQBrowserActivity',
rules: [
{
key: 0,
matches:
'TextView[text="QQ等级规则"] + View > TextView[id=null&&text.length=0]',
snapshotUrls: 'https://i.gkd.li/i/12914734',
},
{
key: 1,
name: '右侧悬浮广告',
activityIds: 'com.tencent.mobileqq.activity.SplashActivity',
matches:
'FrameLayout[desc="发表帖子"] - LinearLayout[id!=null] >3 ImageView[id!=null][clickable=false] - View[id!=null][clickable=true]',
snapshotUrls: 'https://i.gkd.li/i/12708844',
},
],
},
{
key: 10,
name: '功能类-自动勾选原图',
@@ -468,29 +413,6 @@ export default defineGkdApp({
},
],
},
{
key: 21,
name: '全屏广告-首页弹窗广告',
activityIds: 'com.tencent.mobileqq.activity.QPublicTransFragmentActivity',
rules: [
{
key: 0,
name: '元梦之星弹窗广告',
matches:
'ViewGroup[childCount=2] > ViewGroup[childCount=3][index=1] > ViewGroup[clickable=true][visibleToUser=true][index=1][childCount=0]',
snapshotUrls: 'https://i.gkd.li/i/13797876',
},
{
key: 1,
name: '现金瓜分弹窗',
matches:
'RelativeLayout >5 ViewGroup[childCount=6] > ViewGroup[index=2][clickable=true]',
exampleUrls:
'https://m.gkd.li/57941037/a9fe74db-07b4-47e6-beed-80983f61d2e3',
snapshotUrls: 'https://i.gkd.li/i/14207286',
},
],
},
{
key: 22,
name: '分段广告-天气页卡片广告',
@@ -531,26 +453,6 @@ export default defineGkdApp({
},
],
},
{
key: 23,
name: '全屏广告-新春回馈礼弹窗',
desc: '点击关闭',
rules: [
{
fastQuery: true,
action: 'clickCenter',
activityIds: 'com.tencent.mobileqq.activity.SplashActivity',
matches:
'RelativeLayout[childCount=4] > View + RelativeLayout[childCount=2] + ImageView + ImageView',
exampleUrls:
'https://m.gkd.li/57941037/b09d6db6-0e67-421a-aa7d-35453bf9a0bc',
snapshotUrls: [
'https://i.gkd.li/i/14134934',
'https://i.gkd.li/i/14151820', // 误触快照
],
},
],
},
{
key: 24,
name: '局部广告-聊天页面广告',