mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 17:25:11 +08:00
feat(翡翠视频): 开屏广告, 首页广告弹窗 (#286)
* feat(翡翠视频) * feat(翡翠视频): 首页广告弹窗-优化 --------- Co-authored-by: lisonge <i@songe.li>
This commit is contained in:
46
src/apps/com.feicui.vdhelper.ts
Normal file
46
src/apps/com.feicui.vdhelper.ts
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
import { defineAppConfig } from '../types';
|
||||||
|
|
||||||
|
export default defineAppConfig({
|
||||||
|
id: 'com.feicui.vdhelper',
|
||||||
|
name: '翡翠视频',
|
||||||
|
groups: [
|
||||||
|
{
|
||||||
|
key: 0,
|
||||||
|
name: '开屏广告',
|
||||||
|
activityIds: ['com.ys.resemble.ui.login.splash.SplashSecondAdActivity'],
|
||||||
|
rules: '[id="com.feicui.vdhelper:id/txt_skip"][text^="跳过"]',
|
||||||
|
snapshotUrls: ['https://gkd-kit.gitee.io/import/12700730'],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 1,
|
||||||
|
name: '首页广告弹窗',
|
||||||
|
activityIds: ['com.ys.resemble.ui.MainActivity'],
|
||||||
|
rules: [
|
||||||
|
{
|
||||||
|
matches: 'ImageView - FrameLayout >(2) ImageView[id=null]',
|
||||||
|
snapshotUrls: ['https://gkd-kit.gitee.io/import/12700749'],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
matches: [
|
||||||
|
'ImageView + [id=null][text="广告"]',
|
||||||
|
'ImageView + [id=null][text="跳过"]',
|
||||||
|
],
|
||||||
|
snapshotUrls: ['https://gkd-kit.gitee.io/import/12700759'],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
matches:
|
||||||
|
'[text="广告"] - ImageView < ViewGroup -(2) ViewGroup >(2) ImageView[id=null]',
|
||||||
|
snapshotUrls: ['https://gkd-kit.gitee.io/import/12700800'],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
activityIds: ['com.sigmob.sdk.base.common.TransparentAdActivity'],
|
||||||
|
matches: '[id="close_btn"][clickable=true]',
|
||||||
|
snapshotUrls: [
|
||||||
|
'https://gkd-kit.gitee.io/import/12700837',
|
||||||
|
'https://gkd-kit.gitee.io/import/12700848', // 为了兼容此快照,仅使用 id="close_btn" 进行匹配
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user