mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 01:04:53 +08:00
feat(百度贴吧): 帖子评论区广告卡片(优化规则)、首页顶部广告卡片、应用内广告弹窗 (#1265)
* feat: 帖子评论区广告卡片(优化规则) * feat: 首页顶部广告卡片 * feat: 应用内广告弹窗 close #1286
This commit is contained in:
@@ -60,6 +60,12 @@ export default defineAppConfig({
|
|||||||
'https://gkd-kit.gitee.io/import/12840951',
|
'https://gkd-kit.gitee.io/import/12840951',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
key: 1,
|
||||||
|
matches:
|
||||||
|
'RelativeLayout[childCount=2] > RelativeLayout[childCount=1][clickable=true] > ImageView',
|
||||||
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/13060892',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -91,10 +97,11 @@ export default defineAppConfig({
|
|||||||
{
|
{
|
||||||
key: 1,
|
key: 1,
|
||||||
matches:
|
matches:
|
||||||
'TextView[text$="广告"] +n FrameLayout[id="com.baidu.tieba:id/obfuscated"] >n ImageView[id=null]',
|
'TextView[text$="广告"] +n FrameLayout[id="com.baidu.tieba:id/obfuscated"] >n @FrameLayout[clickable=true] > ImageView[id=null]',
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
'https://gkd-kit.songe.li/import/12775913', // com.baidu.tieba.pb.pb.main.PbActivity
|
'https://gkd-kit.songe.li/import/12775913', // com.baidu.tieba.pb.pb.main.PbActivity
|
||||||
'https://gkd-kit.songe.li/import/13043133', // com.baidu.tieba.tblauncher.MainTabActivity
|
'https://gkd-kit.songe.li/import/13043133', // com.baidu.tieba.tblauncher.MainTabActivity
|
||||||
|
'https://gkd-kit.songe.li/import/13054256',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -134,5 +141,12 @@ export default defineAppConfig({
|
|||||||
'LinearLayout > RelativeLayout > ImageView[id=null][clickable=true]',
|
'LinearLayout > RelativeLayout > ImageView[id=null][clickable=true]',
|
||||||
snapshotUrls: 'https://gkd-kit.songe.li/import/12775882',
|
snapshotUrls: 'https://gkd-kit.songe.li/import/12775882',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
key: 9,
|
||||||
|
name: '应用内广告弹窗',
|
||||||
|
activityIds: 'com.baidu.tbadk.browser.TBWebContainerActivity',
|
||||||
|
rules: 'View[childCount=3] > @View[clickable=true] > Image',
|
||||||
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/13060891',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user