mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 16:54:43 +08:00
feat(多看阅读): 小说页下方广告和全屏广告 (#2651)
* fix: duokan * feat(多看): 小说页全屏卡片广告 --------- Co-authored-by: lisonge <i@songe.li> close #1588
This commit is contained in:
@@ -27,5 +27,38 @@ export default defineAppConfig({
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 4,
|
||||
name: '小说页广告',
|
||||
desc: '小说页面下方出现的条形广告',
|
||||
quickFind: true,
|
||||
activityIds: 'com.duokan.reader.DkMainActivity',
|
||||
rules:
|
||||
'@ImageView < FrameLayout[id="com.duokan.reader:id/reading__app_ad_view__close"]',
|
||||
snapshotUrls: 'https://i.gkd.li/import/13497902',
|
||||
},
|
||||
{
|
||||
key: 5,
|
||||
name: '小说页全屏卡片广告',
|
||||
desc: '点击关闭和确定按钮',
|
||||
quickFind: true,
|
||||
activityIds: 'com.duokan.reader.DkMainActivity',
|
||||
rules: [
|
||||
{
|
||||
key: 0,
|
||||
matches:
|
||||
'@TextView[id="com.duokan.reader:id/reading__app_ad_view__close"][text="广告"]',
|
||||
},
|
||||
{
|
||||
preKeys: 0,
|
||||
matches:
|
||||
'@TextView[id="com.duokan.reader:id/ad__feedback_close_dialog_button"][text="知道了"]',
|
||||
},
|
||||
],
|
||||
snapshotUrls: [
|
||||
'https://i.gkd.li/import/13498048',
|
||||
'https://i.gkd.li/import/13497990',
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user