mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 01:04:53 +08:00
feat(QQ浏览器): 小说阅读页面-卡片广告-规则优化 (#1106)
This commit is contained in:
@@ -21,17 +21,10 @@ export default defineAppConfig({
|
|||||||
name: '小说阅读页面-卡片广告',
|
name: '小说阅读页面-卡片广告',
|
||||||
activityIds: 'com.tencent.mtt.MainActivity',
|
activityIds: 'com.tencent.mtt.MainActivity',
|
||||||
rules: [
|
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,
|
preKeys: 0,
|
||||||
key: 1,
|
key: 1,
|
||||||
|
name: '点击[屏蔽此广告]',
|
||||||
matches: '@ViewGroup > [desc="屏蔽此广告"]',
|
matches: '@ViewGroup > [desc="屏蔽此广告"]',
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
'https://gkd-kit.gitee.io/import/12907654',
|
'https://gkd-kit.gitee.io/import/12907654',
|
||||||
@@ -41,12 +34,24 @@ export default defineAppConfig({
|
|||||||
{
|
{
|
||||||
preKeys: 1,
|
preKeys: 1,
|
||||||
key: 2,
|
key: 2,
|
||||||
|
name: '点击[不感兴趣]',
|
||||||
matches: '@ViewGroup > [desc="不感兴趣"]',
|
matches: '@ViewGroup > [desc="不感兴趣"]',
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
'https://gkd-kit.gitee.io/import/12907655',
|
'https://gkd-kit.gitee.io/import/12907655',
|
||||||
'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