mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 01:04:53 +08:00
feat(番茄免费小说): 阅读页面底部广告(优化规则)
This commit is contained in:
@@ -14,10 +14,6 @@ export default defineAppConfig({
|
|||||||
'com.dragon.read.reader.ui.ReaderActivity',
|
'com.dragon.read.reader.ui.ReaderActivity',
|
||||||
],
|
],
|
||||||
rules: [
|
rules: [
|
||||||
{
|
|
||||||
key: 0,
|
|
||||||
matches: '@[clickable=true] TextView[text="关闭此条广告"]',
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
key: 1,
|
key: 1,
|
||||||
matches: '@ImageView - LinearLayout TextView[text="广告"]',
|
matches: '@ImageView - LinearLayout TextView[text="广告"]',
|
||||||
@@ -26,19 +22,15 @@ export default defineAppConfig({
|
|||||||
{
|
{
|
||||||
key: 2,
|
key: 2,
|
||||||
matches:
|
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: [
|
snapshotUrls: [
|
||||||
'https://i.gkd.li/import/12716444',
|
'https://i.gkd.li/import/14193836',
|
||||||
'https://i.gkd.li/import/13062909', // 误触
|
'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',
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user