mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-22 17:55:12 +08:00
feat(驾考宝典): 开屏广告(优化规则)、悬浮广告、弹窗广告 (#2576)
* feat 开屏广告(优化规则) * feat 悬浮广告 * feat 弹窗广告
This commit is contained in:
@@ -7,8 +7,41 @@ export default defineAppConfig({
|
|||||||
{
|
{
|
||||||
key: 0,
|
key: 0,
|
||||||
name: '开屏广告',
|
name: '开屏广告',
|
||||||
activityIds: 'com.handsgo.jiakao.android.splash.Login',
|
quickFind: true,
|
||||||
rules: '[id=`com.handsgo.jiakao.android:id/closeLayout`]',
|
matchTime: 10000,
|
||||||
|
actionMaximum: 1,
|
||||||
|
resetMatch: 'app',
|
||||||
|
rules: '[id=`com.handsgo.jiakao.android:id/closeLayout`]', // 缺少快照
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 1,
|
||||||
|
name: '悬浮广告',
|
||||||
|
rules: [
|
||||||
|
{
|
||||||
|
key: 0,
|
||||||
|
activityIds: 'com.handsgo.jiakao.android.main.activity.MainActivity',
|
||||||
|
matches:
|
||||||
|
'@[id="com.handsgo.jiakao.android:id/ivDelete"] + [id="com.handsgo.jiakao.android:id/ivRemote"]',
|
||||||
|
snapshotUrls: 'https://i.gkd.li/import/13475994',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 2,
|
||||||
|
name: '弹窗广告',
|
||||||
|
rules: [
|
||||||
|
{
|
||||||
|
key: 0,
|
||||||
|
name: '字节广告',
|
||||||
|
activityIds:
|
||||||
|
'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity',
|
||||||
|
matches: [
|
||||||
|
'[desc^="logoad"] > [text="广告"]',
|
||||||
|
'[desc^="webview-close"] > View[clickable=true]',
|
||||||
|
],
|
||||||
|
snapshotUrls: 'https://i.gkd.li/import/13476039',
|
||||||
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user