feat(番茄免费小说): 阅读页面底部广告(优化规则)

This commit is contained in:
aisouler
2024-02-07 20:46:44 +08:00
parent 3aeab2faf3
commit 29395483e1

View File

@@ -14,10 +14,6 @@ export default defineAppConfig({
'com.dragon.read.reader.ui.ReaderActivity',
],
rules: [
{
key: 0,
matches: '@[clickable=true] TextView[text="关闭此条广告"]',
},
{
key: 1,
matches: '@ImageView - LinearLayout TextView[text="广告"]',
@@ -26,19 +22,15 @@ export default defineAppConfig({
{
key: 2,
matches:
'FrameLayout > FrameLayout > ViewGroup[childCount=4] > @FrameLayout[clickable=true][visibleToUser=true] > ImageView',
'HorizontalAndVerticalScrollView > FrameLayout[childCount=14] > [index=9] >5 ImageView[clickable=true]',
exampleUrls:
'https://m.gkd.li/57941037/d2f7c62c-be88-4668-b276-68bb53edfaad',
snapshotUrls: [
'https://i.gkd.li/import/12716444',
'https://i.gkd.li/import/13062909', // 误触
'https://i.gkd.li/import/14193836',
'https://i.gkd.li/import/13520314',
'https://i.gkd.li/import/12908734',
],
},
{
key: 3,
quickFind: true,
matches:
'[id="com.dragon.read:id/layout_banner_ad_bg"] > [id="com.dragon.read:id/close_button"]',
snapshotUrls: 'https://i.gkd.li/import/13520314',
},
],
},
{