mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 00:35:17 +08:00
feat(奇妙应用): 开屏广告, 下方横幅 (#1455)
* Create com.magicalstory.AppStore.ts * chore(actions): check_format_lint * Update com.magicalstory.AppStore.ts * feat(奇妙应用): 规则优化 --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: lisonge <i@songe.li> close #1451 close #1479
This commit is contained in:
39
src/apps/com.magicalstory.AppStore.ts
Normal file
39
src/apps/com.magicalstory.AppStore.ts
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
import { defineAppConfig } from '../types';
|
||||||
|
|
||||||
|
export default defineAppConfig({
|
||||||
|
id: 'com.magicalstory.AppStore',
|
||||||
|
name: '奇妙应用',
|
||||||
|
groups: [
|
||||||
|
{
|
||||||
|
key: 0,
|
||||||
|
name: '开屏广告',
|
||||||
|
quickFind: true,
|
||||||
|
matchTime: 10000,
|
||||||
|
actionMaximum: 1,
|
||||||
|
resetMatch: 'app',
|
||||||
|
rules: [
|
||||||
|
{
|
||||||
|
matches: '[text="跳过"]',
|
||||||
|
snapshotUrls: [
|
||||||
|
'https://i.gkd.li/import/13185745',
|
||||||
|
'https://i.gkd.li/import/13191546',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 1,
|
||||||
|
name: '下方横幅',
|
||||||
|
activityIds: 'com.magicalstory.AppStore.search.searchActivity',
|
||||||
|
rules: [
|
||||||
|
{
|
||||||
|
matches: [
|
||||||
|
'[id="com.magicalstory.AppStore:id/banner"]',
|
||||||
|
'FrameLayout[childCount=5] > FrameLayout[childCount=1] > ImageView',
|
||||||
|
],
|
||||||
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/13185746',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user