feat: 恢复 "关闭" 类型广告

This commit is contained in:
lisonge
2024-01-03 21:59:58 +08:00
parent d96eabc66c
commit 4910a6896b
11 changed files with 128 additions and 4 deletions

View File

@@ -3,8 +3,22 @@ import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.crirp.zhipu',
name: '智谱',
deprecatedKeys: [1],
groups: [
{
name: '开屏广告',
key: 1,
enable: true,
matchTime: 10000,
quickFind: true,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
matches: '[text="关闭"]',
snapshotUrls: 'https://i.gkd.li/import/13725305',
},
],
},
{
name: '首页-今日要闻-不再提示',
key: 2,

View File

@@ -1,4 +1,3 @@
import { machine } from 'os';
import { defineAppConfig } from '../types';
export default defineAppConfig({

View File

@@ -0,0 +1,18 @@
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.hanweb.android.sdzwfw.activity',
name: '爱山东',
groups: [
{
key: 0,
name: '开屏广告',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: '[text*="关闭"][text.length<=10]',
snapshotUrls: 'https://i.gkd.li/import/13407227',
},
],
});

View File

@@ -4,6 +4,16 @@ export default defineAppConfig({
id: 'com.ky.medical.reference',
name: '用药参考',
groups: [
{
key: -1,
name: '开屏广告',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: '[id="com.ky.medical.reference:id/btn_go"][text^="关闭"]',
snapshotUrls: 'https://i.gkd.li/import/12918049',
},
{
key: 0,
name: '弹窗广告',

View File

@@ -0,0 +1,22 @@
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.manmanbuy.bijia',
name: '慢慢买',
groups: [
{
key: 0,
name: '开屏广告',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
quickFind: true,
rules: [
{
matches: '[text^="关闭"][text.length=4]',
snapshotUrls: 'https://i.gkd.li/import/13214974',
},
],
},
],
});

View File

@@ -0,0 +1,17 @@
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.qiyi.video.lite',
name: '爱奇艺极速版',
groups: [
{
key: 0,
name: '开屏广告',
matchTime: 10000,
resetMatch: 'app',
actionMaximum: 1,
rules: '[text*="关闭"] <2 LinearLayout',
snapshotUrls: 'https://i.gkd.li/import/13797162',
},
],
});

View File

@@ -4,6 +4,19 @@ export default defineAppConfig({
id: 'com.qiyi.video',
name: '爱奇艺',
groups: [
{
key: 0,
name: '开屏广告',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: '@LinearLayout > [text="关闭"]',
snapshotUrls: [
'https://i.gkd.li/import/13160866',
'https://i.gkd.li/import/13379565',
],
},
{
key: 1,
name: '青少年弹窗',

View File

@@ -1,4 +1,3 @@
import { machine } from 'os';
import { defineAppConfig } from '../types';
export default defineAppConfig({

View File

@@ -4,6 +4,19 @@ export default defineAppConfig({
id: 'com.zgnet.eClass',
name: '掌医课堂',
groups: [
{
key: 1,
name: '开屏广告',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
matches: 'TextView[id$="tv_close_time"&&text^="关闭"]',
snapshotUrls: ['https://i.gkd.li/import/12644260'],
},
],
},
{
key: 2,
enable: false,

View File

@@ -0,0 +1,20 @@
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'dxwt.questionnaire.ui',
name: '10000社区',
groups: [
{
key: 0,
name: '开屏广告',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: '[desc^="关闭"][desc.length<=10][visibleToUser=true]',
snapshotUrls: [
'https://i.gkd.li/import/13255491',
'https://i.gkd.li/import/13259475', // 限制 visibleToUser=true 防止按钮未出现就触发规则
],
},
],
});

View File

@@ -1,4 +1,3 @@
import { machine } from 'os';
import { defineAppConfig } from '../types';
export default defineAppConfig({