diff --git a/src/appDeprecatedKeys.ts b/src/appDeprecatedKeys.ts index 01d7c4ba..602c56d4 100644 --- a/src/appDeprecatedKeys.ts +++ b/src/appDeprecatedKeys.ts @@ -395,7 +395,7 @@ const appDeprecatedKeys: RawDeprecatedKeysSetting[] = [ { id: 'com.dragon.read', name: '番茄免费小说', - deprecatedKeys: [11, 13], + deprecatedKeys: [11, 12, 13, 14], }, { id: 'com.eg.android.AlipayGphone', diff --git a/src/apps/com.dragon.read.ts b/src/apps/com.dragon.read.ts index bda39aa7..cd717e68 100644 --- a/src/apps/com.dragon.read.ts +++ b/src/apps/com.dragon.read.ts @@ -124,7 +124,7 @@ export default defineGkdApp({ }, { key: 3, - name: '全屏广告-弹窗广告', + name: '全屏广告', rules: [ { key: 0, @@ -165,6 +165,34 @@ export default defineGkdApp({ 'https://m.gkd.li/57941037/96afbb4f-afd5-4f64-948d-15fc7bb14075', snapshotUrls: 'https://i.gkd.li/i/15223416', }, + { + key: 4, + fastQuery: true, + activityIds: '.reader.ui.ReaderActivity', + matches: + 'AwemeLynxVideoUI +n FlattenUIText[text="关闭"][clickable=true][visibleToUser=true]', + exampleUrls: 'https://e.gkd.li/6d33c17b-85de-4977-aa7f-b45e2a917a12', + snapshotUrls: 'https://i.gkd.li/i/23549149', + }, + { + key: 5, + fastQuery: true, + activityIds: 'com.dragon.read.reader.ui.ReaderActivity', + matches: + 'TextView[text="广告"] +2 Button[id="com.dragon.read:id/close"]', + snapshotUrls: 'https://i.gkd.li/i/13191156', + }, + { + key: 6, + fastQuery: true, + activityIds: 'com.dragon.read.reader.ui.ReaderActivity', + matches: + '@ImageView[clickable=true][visibleToUser=true] +5 [text="领取限时福利"]', + snapshotUrls: [ + 'https://i.gkd.li/i/14430326', + 'https://i.gkd.li/i/14969861', + ], + }, ], }, { @@ -256,37 +284,6 @@ export default defineGkdApp({ }, ], }, - { - key: 12, - name: '全屏广告', - desc: '点击"关闭"', - rules: [ - { - fastQuery: true, - activityIds: 'com.dragon.read.reader.ui.ReaderActivity', - matches: - 'TextView[text="广告"] +2 Button[id="com.dragon.read:id/close"]', - snapshotUrls: 'https://i.gkd.li/i/13191156', - }, - ], - }, - { - key: 14, - name: '全屏广告-会员福利弹窗', - desc: '点击关闭', - rules: [ - { - fastQuery: true, - activityIds: 'com.dragon.read.reader.ui.ReaderActivity', - matches: - '@ImageView[clickable=true][visibleToUser=true] +5 [text="领取限时福利"]', - snapshotUrls: [ - 'https://i.gkd.li/i/14430326', - 'https://i.gkd.li/i/14969861', - ], - }, - ], - }, { key: 15, name: '功能类-关闭广告声音',