mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-19 16:25:09 +08:00
feat: 恢复 "关闭" 类型广告
This commit is contained in:
@@ -3,8 +3,22 @@ import { defineAppConfig } from '../types';
|
|||||||
export default defineAppConfig({
|
export default defineAppConfig({
|
||||||
id: 'com.crirp.zhipu',
|
id: 'com.crirp.zhipu',
|
||||||
name: '智谱',
|
name: '智谱',
|
||||||
deprecatedKeys: [1],
|
|
||||||
groups: [
|
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: '首页-今日要闻-不再提示',
|
name: '首页-今日要闻-不再提示',
|
||||||
key: 2,
|
key: 2,
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
import { machine } from 'os';
|
|
||||||
import { defineAppConfig } from '../types';
|
import { defineAppConfig } from '../types';
|
||||||
|
|
||||||
export default defineAppConfig({
|
export default defineAppConfig({
|
||||||
|
|||||||
18
src/apps/com.hanweb.android.sdzwfw.activity.ts
Normal file
18
src/apps/com.hanweb.android.sdzwfw.activity.ts
Normal 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',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
});
|
||||||
@@ -4,6 +4,16 @@ export default defineAppConfig({
|
|||||||
id: 'com.ky.medical.reference',
|
id: 'com.ky.medical.reference',
|
||||||
name: '用药参考',
|
name: '用药参考',
|
||||||
groups: [
|
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,
|
key: 0,
|
||||||
name: '弹窗广告',
|
name: '弹窗广告',
|
||||||
|
|||||||
22
src/apps/com.manmanbuy.bijia.ts
Normal file
22
src/apps/com.manmanbuy.bijia.ts
Normal 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',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
});
|
||||||
17
src/apps/com.qiyi.video.lite.ts
Normal file
17
src/apps/com.qiyi.video.lite.ts
Normal 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',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
});
|
||||||
@@ -4,6 +4,19 @@ export default defineAppConfig({
|
|||||||
id: 'com.qiyi.video',
|
id: 'com.qiyi.video',
|
||||||
name: '爱奇艺',
|
name: '爱奇艺',
|
||||||
groups: [
|
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,
|
key: 1,
|
||||||
name: '青少年弹窗',
|
name: '青少年弹窗',
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
import { machine } from 'os';
|
|
||||||
import { defineAppConfig } from '../types';
|
import { defineAppConfig } from '../types';
|
||||||
|
|
||||||
export default defineAppConfig({
|
export default defineAppConfig({
|
||||||
|
|||||||
@@ -4,6 +4,19 @@ export default defineAppConfig({
|
|||||||
id: 'com.zgnet.eClass',
|
id: 'com.zgnet.eClass',
|
||||||
name: '掌医课堂',
|
name: '掌医课堂',
|
||||||
groups: [
|
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,
|
key: 2,
|
||||||
enable: false,
|
enable: false,
|
||||||
|
|||||||
20
src/apps/dxwt.questionnaire.ui.ts
Normal file
20
src/apps/dxwt.questionnaire.ui.ts
Normal 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 防止按钮未出现就触发规则
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
});
|
||||||
@@ -1,4 +1,3 @@
|
|||||||
import { machine } from 'os';
|
|
||||||
import { defineAppConfig } from '../types';
|
import { defineAppConfig } from '../types';
|
||||||
|
|
||||||
export default defineAppConfig({
|
export default defineAppConfig({
|
||||||
|
|||||||
Reference in New Issue
Block a user