feat(雪球基金): 基金页面弹窗广告、其他规则分类、优化

This commit is contained in:
aisouler
2024-02-05 18:12:11 +08:00
parent 32e0e67d86
commit 5338bd1699
7 changed files with 51 additions and 19 deletions

View File

@@ -7,7 +7,7 @@ export default defineAppConfig({
groups: [
{
key: 10,
name: '请求通知权限弹窗',
name: '通知提示-请求通知权限弹窗',
desc: '自动点击【不允许】',
activityIds: 'com.baidu.baike.component.push.NotificationEnableDialog',
rules: '[text^="打开推送通知"] +2 [text="不允许"]',

View File

@@ -6,7 +6,7 @@ export default defineAppConfig({
groups: [
{
key: 3,
name: '青少年模式弹窗',
name: '青少年模式',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,

View File

@@ -6,7 +6,7 @@ export default defineAppConfig({
groups: [
{
key: 1,
name: '升级提示',
name: '更新提示',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',

View File

@@ -6,7 +6,7 @@ export default defineAppConfig({
groups: [
{
key: 1,
name: '信息流广告',
name: '局部广告-信息流广告',
rules: [
{
key: 0,

View File

@@ -6,7 +6,7 @@ export default defineAppConfig({
groups: [
{
key: 1,
name: '首页-信息流广告',
name: '分段广告-首页信息流广告',
activityIds: ['com.baidu.tieba.tblauncher.MainTabActivity'],
rules: [
{

View File

@@ -3,11 +3,11 @@ import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.baidu.xin.aiqicha',
name: '爱企查',
deprecatedKeys: [0],
deprecatedKeys: [0, 11],
groups: [
{
key: 1,
name: '更新弹窗',
name: '更新提示',
activityIds: [
'com.baidu.newbridge.fast.MainFastActivity',
'com.miui.home.launcher.Launcher',
@@ -20,19 +20,28 @@ export default defineAppConfig({
},
{
key: 10,
name: '请求通知权限弹窗',
desc: '自动点击【不允许】',
name: '通知提示-请求通知权限弹窗',
desc: '自动点击【不允许】/关闭',
activityIds: 'com.baidu.newbridge.fast.MainFastActivity',
rules: '[id="com.baidu.xin.aiqicha:id/notice_dialog_cancel_iv"]',
snapshotUrls: 'https://i.gkd.li/import/12755733',
},
{
key: 11,
name: '请求通知权限提示信息',
desc: '自动点击x按钮',
activityIds: 'com.baidu.newbridge.fast.MainFastActivity',
rules: '@[id="com.baidu.xin.aiqicha:id/close"] +2 [text="打开消息通知"]',
snapshotUrls: 'https://i.gkd.li/import/12755756',
rules: [
{
key: 0,
matches: '[id="com.baidu.xin.aiqicha:id/notice_dialog_cancel_iv"]',
exampleUrls:
'https://m.gkd.li/57941037/9c26bb3a-d770-429a-b211-46b97a47f5f0',
snapshotUrls: 'https://i.gkd.li/import/12755733',
},
{
key: 1,
activityIds: 'com.baidu.newbridge.fast.MainFastActivity',
matches:
'@[id="com.baidu.xin.aiqicha:id/close"] +2 [text="打开消息通知"]',
exampleUrls:
'https://m.gkd.li/57941037/92a1bd1b-91c5-42a8-830b-9b721815d9a4',
snapshotUrls: 'https://i.gkd.li/import/12755756',
},
],
},
// key 11 已弃用
],
});

View File

@@ -0,0 +1,23 @@
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.xueqiu.fund',
name: '雪球基金',
groups: [
{
key: 1,
name: '全屏广告-基金页面弹窗广告',
desc: '点击关闭',
rules: [
{
quickFind: true,
activityIds: 'com.xueqiu.fund.commonlib.FundHomeActivityV2',
matches: '[id="com.xueqiu.fund:id/image_cancel"]',
exampleUrls:
'https://m.gkd.li/57941037/c43d58ab-a18c-4249-bc35-1c7aeab4c3ff',
snapshotUrls: 'https://i.gkd.li/import/14163901',
},
],
},
],
});