feat(喵上漫画): 广告弹窗-规则优化 (#1053)

close #1039
This commit is contained in:
Kun Jinkao
2023-10-15 02:22:55 +08:00
committed by GitHub
parent f1653e0b31
commit dc9ee72853

View File

@@ -6,9 +6,10 @@ export default defineAppConfig({
groups: [ groups: [
{ {
key: 1, key: 1,
name: '广告弹窗', name: '应用内广告弹窗',
desc: '点击右上角x', desc: '点击右上角x',
rules: [ rules: [
// 腾讯广告
{ {
key: 0, key: 0,
activityIds: 'com.bbk.launcher2.Launcher', activityIds: 'com.bbk.launcher2.Launcher',
@@ -27,9 +28,25 @@ export default defineAppConfig({
key: 2, key: 2,
activityIds: 'com.aster.comic.app.view.MainActivity', activityIds: 'com.aster.comic.app.view.MainActivity',
matches: matches:
'FrameLayout[childCount=4] > FrameLayout[childCount=8] > FrameLayout[childCount=1] > ImageView', 'ImageView - LinearLayout - FrameLayout > FrameLayout > ImageView',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12872249', snapshotUrls: 'https://gkd-kit.gitee.io/import/12872249',
}, },
// 字节广告
{
key: 10,
activityIds: 'com.aster.comic.app.view.MainActivity',
matches: '[desc^="webview-close"] > View',
snapshotUrls: 'https://gkd-kit.songe.li/import/12903062',
},
{
key: 11,
activityIds:
'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity',
matches:
'@Image < View + View +n View > View > TextView[text="广告"]',
snapshotUrls: 'https://gkd-kit.songe.li/import/12903072',
},
], ],
}, },
], ],