mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-19 16:25:09 +08:00
fix(QQ浏览器): 小说阅读页面-卡片广告(修复误触) (#1975)
This commit is contained in:
@@ -22,6 +22,18 @@ export default defineAppConfig({
|
|||||||
name: '小说阅读页面-卡片广告',
|
name: '小说阅读页面-卡片广告',
|
||||||
activityIds: 'com.tencent.mtt.MainActivity',
|
activityIds: 'com.tencent.mtt.MainActivity',
|
||||||
rules: [
|
rules: [
|
||||||
|
{
|
||||||
|
cd: 3000,
|
||||||
|
key: 0,
|
||||||
|
name: '点击广告按钮',
|
||||||
|
excludeMatches: '[desc="屏蔽此广告"||desc="不感兴趣"]',
|
||||||
|
matches:
|
||||||
|
'@ViewGroup[clickable=true][visibleToUser=true] > ViewGroup > [desc="广告"]',
|
||||||
|
snapshotUrls: [
|
||||||
|
'https://gkd-kit.gitee.io/import/12907446',
|
||||||
|
'https://gkd-kit.gitee.io/import/12907445', // 限定 visibleToUser=true,防止在节点不可见时触发规则
|
||||||
|
],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
preKeys: 0,
|
preKeys: 0,
|
||||||
key: 1,
|
key: 1,
|
||||||
@@ -42,17 +54,6 @@ export default defineAppConfig({
|
|||||||
'https://gkd-kit.gitee.io/import/12907653',
|
'https://gkd-kit.gitee.io/import/12907653',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
|
||||||
cd: 3000,
|
|
||||||
key: 0,
|
|
||||||
name: '点击广告按钮',
|
|
||||||
excludeMatches: '[desc="屏蔽此广告"||desc="不感兴趣"]',
|
|
||||||
matches: '@ViewGroup[visibleToUser=true] > ViewGroup > [desc="广告"]',
|
|
||||||
snapshotUrls: [
|
|
||||||
'https://gkd-kit.gitee.io/import/12907446',
|
|
||||||
'https://gkd-kit.gitee.io/import/12907445', // 限定 visibleToUser=true,防止在节点不可见时触发规则
|
|
||||||
],
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user