perf(胖乖生活): 开屏广告 (改用全局规则)

This commit is contained in:
AIsouler
2024-12-06 15:34:28 +08:00
parent 9459dcfccb
commit 2814f98c09
2 changed files with 13 additions and 30 deletions

View File

@@ -827,6 +827,11 @@ const appDeprecatedKeys: RawDeprecatedKeysSetting[] = [
name: '正气',
deprecatedKeys: [1],
},
{
id: 'com.qiekj.user',
name: '胖乖生活',
deprecatedKeys: [0],
},
];
const map: Map<string, number[]> = new Map();

View File

@@ -4,36 +4,6 @@ export default defineGkdApp({
id: 'com.qiekj.user',
name: '胖乖生活',
groups: [
{
key: 0,
name: '开屏广告',
fastQuery: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
actionMaximumKey: 0,
priorityTime: 10000,
rules: [
{
key: 0,
matches:
'[id="com.qiekj.user:id/native_splash_view"] >n [text^="跳过"]',
snapshotUrls: 'https://i.gkd.li/i/12903088',
},
{
key: 1,
matches:
'[id="com.kwad.dy.sdk:id/ksad_splash_root_container"] >n [text="跳过"]',
snapshotUrls: 'https://i.gkd.li/i/12903086',
},
{
key: 2,
matches:
'[id="com.kwad.dy.sdk:id/ksad_splash_root_container"] >n ViewGroup > TextView + TextView + ImageView[clickable=true]',
snapshotUrls: 'https://i.gkd.li/i/12903095',
},
],
},
{
key: 1,
name: '更新提示',
@@ -89,6 +59,14 @@ export default defineGkdApp({
exampleUrls: 'https://e.gkd.li/3f3d3462-7121-4f37-8252-1ef82e74f626',
snapshotUrls: 'https://i.gkd.li/i/18033023',
},
{
key: 3,
fastQuery: true,
activityIds: '.MainActivity',
matches: '@ImageView[clickable=true] - [text="|"] - [text$="s"]',
exampleUrls: 'https://e.gkd.li/343016ff-dd8f-4a19-8e3c-63520b087e98',
snapshotUrls: 'https://i.gkd.li/i/12903095',
},
],
},
],