mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 09:15:11 +08:00
feat(Blued极速版): 开屏、页面内卡片广告 (#2522)
* feat(Blued极速版): 开屏、页面内卡片广告 * chore(actions): check_format_lint --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
63
src/apps/com.danlan.xiaolan.ts
Normal file
63
src/apps/com.danlan.xiaolan.ts
Normal file
@@ -0,0 +1,63 @@
|
||||
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',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user