mirror of
https://gitea.redwind.top/Austin/subscription
synced 2024-11-16 20:53:38 +08:00
feat(QQ浏览器): 小说阅读页面-卡片广告-规则优化 (#1106)
This commit is contained in:
parent
34400486cb
commit
17115363d4
|
@ -21,17 +21,10 @@ export default defineAppConfig({
|
|||
name: '小说阅读页面-卡片广告',
|
||||
activityIds: 'com.tencent.mtt.MainActivity',
|
||||
rules: [
|
||||
{
|
||||
key: 0,
|
||||
matches: '@ViewGroup[visibleToUser=true] > ViewGroup > [desc="广告"]',
|
||||
snapshotUrls: [
|
||||
'https://gkd-kit.gitee.io/import/12907446',
|
||||
'https://gkd-kit.gitee.io/import/12907445', // 限定 visibleToUser=true,防止在节点不可见时触发规则
|
||||
],
|
||||
},
|
||||
{
|
||||
preKeys: 0,
|
||||
key: 1,
|
||||
name: '点击[屏蔽此广告]',
|
||||
matches: '@ViewGroup > [desc="屏蔽此广告"]',
|
||||
snapshotUrls: [
|
||||
'https://gkd-kit.gitee.io/import/12907654',
|
||||
|
@ -41,12 +34,24 @@ export default defineAppConfig({
|
|||
{
|
||||
preKeys: 1,
|
||||
key: 2,
|
||||
name: '点击[不感兴趣]',
|
||||
matches: '@ViewGroup > [desc="不感兴趣"]',
|
||||
snapshotUrls: [
|
||||
'https://gkd-kit.gitee.io/import/12907655',
|
||||
'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,防止在节点不可见时触发规则
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user