Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

feat(多看阅读):更新提示 #4024

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 21 additions & 4 deletions src/apps/com.duokan.reader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ export default defineAppConfig({
groups: [
{
key: 2,
name: '首页-广告弹窗',
name: '全屏广告-首页广告弹窗',
quickFind: true,
activityIds: 'com.duokan.reader.DkMainActivity',
rules: '[id="com.duokan.reader:id/store_feed_layer_close"]',
snapshotUrls: 'https://i.gkd.li/import/13248773',
},
{
key: 3,
name: '小说推荐弹窗',
name: '全屏广告-小说推荐弹窗',
rules: [
{
key: 1,
Expand All @@ -29,7 +29,7 @@ export default defineAppConfig({
},
{
key: 4,
name: '小说页广告',
name: '局部广告-小说页广告',
desc: '小说页面下方出现的条形广告',
quickFind: true,
activityIds: 'com.duokan.reader.DkMainActivity',
Expand All @@ -39,7 +39,7 @@ export default defineAppConfig({
},
{
key: 5,
name: '小说页全屏卡片广告',
name: '分段广告-小说页全屏卡片广告',
desc: '点击关闭和确定按钮',
quickFind: true,
rules: [
Expand All @@ -60,5 +60,22 @@ export default defineAppConfig({
'https://i.gkd.li/import/13497990',
],
},
{
key: 6,
name: '更新提示',
desc: '点击以后再说',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
activityIds: 'com.duokan.reader.DkMainActivity',
matches:
'[id="com.duokan.reader:id/general__common_dialog_view__button_frame"] >2 [text="以后再说"]',
snapshotUrls: 'https://i.gkd.li/import/14007573',
},
],
},
],
});