mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 17:25:11 +08:00
feat(摩点): 开屏广告,横幅广告 (#2939)
* feat(摩点): 开屏广告,横幅广告 * chore(actions): check_format_lint * feat(摩点): 开屏广告 --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: lisonge <i@songe.li>
This commit is contained in:
34
src/apps/com.modian.app.ts
Normal file
34
src/apps/com.modian.app.ts
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
import { defineAppConfig } from '../types';
|
||||||
|
|
||||||
|
export default defineAppConfig({
|
||||||
|
id: 'com.modian.app',
|
||||||
|
name: '摩点',
|
||||||
|
groups: [
|
||||||
|
{
|
||||||
|
key: 0,
|
||||||
|
name: '开屏广告',
|
||||||
|
quickFind: true,
|
||||||
|
actionMaximum: 1,
|
||||||
|
resetMatch: 'app',
|
||||||
|
matchTime: 10000,
|
||||||
|
rules: [
|
||||||
|
{
|
||||||
|
matches: '[id="com.modian.app:id/tv_skip"][text^="跳过"]',
|
||||||
|
snapshotUrls: 'https://i.gkd.li/import/13610185',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 1,
|
||||||
|
name: '「我的」界面广告条',
|
||||||
|
activityIds: 'com.modian.app.ui.activity.MainActivity',
|
||||||
|
rules: [
|
||||||
|
{
|
||||||
|
matches:
|
||||||
|
'[id="com.modian.app:id/banner_view"] + [id="com.modian.app:id/iv_close"]',
|
||||||
|
snapshotUrls: 'https://i.gkd.li/import/13610188',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user