mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 08:44:55 +08:00
feat(番茄免费小说): 更新弹窗, 右侧悬浮红包, 通知权限弹窗, 阅读页面底部广告 (#374)
This commit is contained in:
@@ -10,13 +10,44 @@ export default defineAppConfig({
|
|||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
activityIds: 'com.dragon.read.ad.banner.ui',
|
activityIds: 'com.dragon.read.ad.banner.ui',
|
||||||
matches: '@[clickable=true] TextView[text=`关闭此条广告`]',
|
matches: '@[clickable=true] TextView[text="关闭此条广告"]',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
activityIds: 'com.dragon.read.reader.ReaderActivity',
|
activityIds: 'com.dragon.read.reader.ReaderActivity',
|
||||||
matches: '@ImageView - LinearLayout TextView[text=`广告`]',
|
matches: '@ImageView - LinearLayout TextView[text="广告"]',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
activityIds: 'com.dragon.read.reader.ui.ReaderActivity',
|
||||||
|
matches:
|
||||||
|
'[id="com.dragon.read:id/root_view"] >n ViewGroup > @FrameLayout[id!=null][clickable=true] > ImageView',
|
||||||
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/12716444',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
key: 1,
|
||||||
|
name: '更新弹窗',
|
||||||
|
activityIds: 'com.dragon.read.update',
|
||||||
|
rules: '@[text="以后再说"] + [text="优先体验"]',
|
||||||
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/12716477',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 2,
|
||||||
|
name: '右侧悬浮红包',
|
||||||
|
activityIds: 'com.dragon.read.pages.main.MainFragmentActivity',
|
||||||
|
rules:
|
||||||
|
'[id="com.dragon.read:id/action_bar_root"] >n RelativeLayout > ImageView[id!=null][clickable=true]',
|
||||||
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/12716506',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
enable: false,
|
||||||
|
key: 10,
|
||||||
|
name: '请求通知权限弹窗',
|
||||||
|
desc: '自动点击【取消】',
|
||||||
|
activityIds: 'com.dragon.read.widget.ConfirmDialogBuilder',
|
||||||
|
rules:
|
||||||
|
'@[text="取消"] < LinearLayout -2 LinearLayout > [text="开启推送提醒"]',
|
||||||
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/12716592',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user