mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-22 01:35:32 +08:00
* feat(Blued极速版): 开屏、页面内卡片广告 * chore(actions): check_format_lint --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
64 lines
1.7 KiB
TypeScript
64 lines
1.7 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.danlan.xiaolan',
|
|
name: 'Blued极速版',
|
|
groups: [
|
|
{
|
|
key: 0,
|
|
name: '开屏广告',
|
|
quickFind: true,
|
|
matchTime: 10000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
activityIds: 'com.blued.android.core.ui.TerminalActivity',
|
|
rules: [
|
|
{
|
|
matches:
|
|
'[id="com.danlan.xiaolan:id/tt_splash_skip_btn"][clickable=true]',
|
|
snapshotUrls: ['https://i.gkd.li/import/13421629'],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 1,
|
|
quickFind: true,
|
|
name: '附近的人-广告卡片',
|
|
activityIds: 'com.soft.blued.ui.home.HomeActivity',
|
|
rules: [
|
|
{
|
|
key: 0,
|
|
matches:
|
|
'[id="com.danlan.xiaolan:id/ad_container"] >n [id="com.danlan.xiaolan:id/img_close"][clickable=true]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13421613',
|
|
},
|
|
{
|
|
preKeys: [0],
|
|
key: 1,
|
|
matches: '@LinearLayout > [text="不感兴趣"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13421622',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 3,
|
|
quickFind: true,
|
|
name: '来访-广告卡片',
|
|
activityIds: 'com.blued.android.core.ui.TerminalActivity',
|
|
rules: [
|
|
{
|
|
key: 0,
|
|
matches: '[id="com.danlan.xiaolan:id/img_close"][clickable=true]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13421923',
|
|
},
|
|
{
|
|
preKeys: [0],
|
|
key: 1,
|
|
matches: '@LinearLayout > [text="不感兴趣"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13422170',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
});
|