mirror of
https://gitea.redwind.top/Austin/subscription
synced 2024-11-16 19:42:36 +08:00
feat(一刻相册): 开屏广告, 升级弹窗 (#68)
* 添加一刻相册广告跳过规则 * feat(一刻相册):跳过开屏广告+升级弹窗 * fix(一刻相册): 软件升级提醒-增强选择器准确性 --------- Co-authored-by: lisonge <i@songe.li>
This commit is contained in:
parent
d5f002830d
commit
1258cd337b
31
src/apps/com.baidu.youavideo.ts
Normal file
31
src/apps/com.baidu.youavideo.ts
Normal file
|
@ -0,0 +1,31 @@
|
|||
import { defineAppConfig } from '../types';
|
||||
|
||||
export default defineAppConfig({
|
||||
id: 'com.baidu.youavideo',
|
||||
name: '一刻相册',
|
||||
groups: [
|
||||
{
|
||||
key: 1,
|
||||
name: '开屏广告',
|
||||
activityIds: ['com.baidu.youavideo.app.ui.SplashActivity'],
|
||||
rules: [
|
||||
{
|
||||
matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]',
|
||||
snapshotUrls: ['https://gkd-kit.gitee.io/import/12597925'],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 2,
|
||||
name: '软件升级提醒',
|
||||
activityIds: ['com.baidu.youavideo.home.view.HomeActivity'],
|
||||
rules: [
|
||||
{
|
||||
matches:
|
||||
'[id="com.baidu.youavideo:id/tv_upgrade"] < LinearLayout +2 [id="com.baidu.youavideo:id/img_close"]',
|
||||
snapshotUrls: ['https://gkd-kit.gitee.io/import/12597916'],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
Loading…
Reference in New Issue
Block a user