feat(轻松阅): 开屏, 弹窗 (#1877)

* Create io.sbyd.app.ts

* Update io.sbyd.app.ts

* Update io.sbyd.app.ts

* feat(轻松阅): 规则优化

---------

Co-authored-by: 二刺螈 <i@songe.li>

close #1835
This commit is contained in:
walklty
2023-11-08 00:04:13 +08:00
committed by GitHub
parent 16f6176c91
commit abe7d4ef87

34
src/apps/io.sbyd.app.ts Normal file
View File

@@ -0,0 +1,34 @@
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'io.sbyd.app',
name: '轻松阅',
groups: [
{
key: -1,
name: '开屏广告',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
quickFind: true,
rules: [
{
matches: '[text^="跳过"][text.length<10]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/13261949',
},
],
},
{
key: 0,
name: '弹窗广告',
activityIds: 'io.sbyd.app.ui.book.read.ReadBookActivity',
rules: [
{
matches:
'TextView < LinearLayout[childCount=2] < FrameLayout[childCount=2] > FrameLayout[childCount=1] > ImageView',
snapshotUrls: 'https://gkd-kit.gitee.io/import/13274336',
},
],
},
],
});