diff --git a/src/apps/com.crirp.zhipu.ts b/src/apps/com.crirp.zhipu.ts index 0c873f2b..29acfc57 100644 --- a/src/apps/com.crirp.zhipu.ts +++ b/src/apps/com.crirp.zhipu.ts @@ -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, diff --git a/src/apps/com.guwendao.gwd.ts b/src/apps/com.guwendao.gwd.ts index 4d16a781..58474d22 100644 --- a/src/apps/com.guwendao.gwd.ts +++ b/src/apps/com.guwendao.gwd.ts @@ -1,4 +1,3 @@ -import { machine } from 'os'; import { defineAppConfig } from '../types'; export default defineAppConfig({ diff --git a/src/apps/com.hanweb.android.sdzwfw.activity.ts b/src/apps/com.hanweb.android.sdzwfw.activity.ts new file mode 100644 index 00000000..f526a2cc --- /dev/null +++ b/src/apps/com.hanweb.android.sdzwfw.activity.ts @@ -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', + }, + ], +}); diff --git a/src/apps/com.ky.medical.reference.ts b/src/apps/com.ky.medical.reference.ts index e5f6c17c..3ecc95dd 100644 --- a/src/apps/com.ky.medical.reference.ts +++ b/src/apps/com.ky.medical.reference.ts @@ -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: '弹窗广告', diff --git a/src/apps/com.manmanbuy.bijia.ts b/src/apps/com.manmanbuy.bijia.ts new file mode 100644 index 00000000..8ce9573f --- /dev/null +++ b/src/apps/com.manmanbuy.bijia.ts @@ -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', + }, + ], + }, + ], +}); diff --git a/src/apps/com.qiyi.video.lite.ts b/src/apps/com.qiyi.video.lite.ts new file mode 100644 index 00000000..a5cbeaa9 --- /dev/null +++ b/src/apps/com.qiyi.video.lite.ts @@ -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', + }, + ], +}); diff --git a/src/apps/com.qiyi.video.ts b/src/apps/com.qiyi.video.ts index b5c76491..be20b3a1 100644 --- a/src/apps/com.qiyi.video.ts +++ b/src/apps/com.qiyi.video.ts @@ -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: '青少年弹窗', diff --git a/src/apps/com.tongcheng.android.ts b/src/apps/com.tongcheng.android.ts index 5484d718..cf2040f4 100644 --- a/src/apps/com.tongcheng.android.ts +++ b/src/apps/com.tongcheng.android.ts @@ -1,4 +1,3 @@ -import { machine } from 'os'; import { defineAppConfig } from '../types'; export default defineAppConfig({ diff --git a/src/apps/com.zgnet.eClass.ts b/src/apps/com.zgnet.eClass.ts index 1a487550..46bdf300 100644 --- a/src/apps/com.zgnet.eClass.ts +++ b/src/apps/com.zgnet.eClass.ts @@ -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, diff --git a/src/apps/dxwt.questionnaire.ui.ts b/src/apps/dxwt.questionnaire.ui.ts new file mode 100644 index 00000000..2f510211 --- /dev/null +++ b/src/apps/dxwt.questionnaire.ui.ts @@ -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 防止按钮未出现就触发规则 + ], + }, + ], +}); diff --git a/src/apps/io.iftech.android.box.ts b/src/apps/io.iftech.android.box.ts index dc4dd5e2..854b446b 100644 --- a/src/apps/io.iftech.android.box.ts +++ b/src/apps/io.iftech.android.box.ts @@ -1,4 +1,3 @@ -import { machine } from 'os'; import { defineAppConfig } from '../types'; export default defineAppConfig({