feat(咕咚):开屏广告、广告弹窗 (#2167)

* feat(咕咚):开屏广告、广告弹窗

* 格式更正

close #1544
This commit is contained in:
jiuqianyuan
2023-11-18 22:51:28 +08:00
committed by GitHub
parent 6b63f5da06
commit 1dbfb9d66f

View File

@@ -0,0 +1,46 @@
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.codoon.gps',
name: '咕咚',
groups: [
{
key: 0,
name: '开屏广告',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
key: 0,
name: '【跳过+倒计时】型',
matches: '[text*="跳过"][text.length<=10]',
snapshotUrls: 'https://i.gkd.li/import/13348806',
},
],
},
{
key: 1,
name: '广告弹窗',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'activity',
activityIds: 'com.codoon.gps.ui.SlideActivity',
rules: [
{
name: '首页-广告弹窗',
matches:
'[id="android:id/content"] >2 RelativeLayout > ViewGroup[childCount=2] > ImageView[clickable=true] + ImageView[clickable=true]',
snapshotUrls: 'https://i.gkd.li/import/13358586',
},
{
name: '运动圈-广告弹窗',
matches:
'[id="android:id/content"] >4 FrameLayout > ImageView + FrameLayout > ImageView',
snapshotUrls: 'https://i.gkd.li/import/13348663',
},
],
},
],
});