mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 01:04:53 +08:00
feat(绿洲): 开屏广告及首页-推荐广告 (#2393)
* feat(绿洲): 开屏广告及首页-推荐广告 * feat(绿洲): 开屏广告 --------- Co-authored-by: lisonge <i@songe.li> close #2389
This commit is contained in:
43
src/apps/com.sina.oasis.ts
Normal file
43
src/apps/com.sina.oasis.ts
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
import { defineAppConfig } from '../types';
|
||||||
|
|
||||||
|
export default defineAppConfig({
|
||||||
|
id: 'com.sina.oasis',
|
||||||
|
name: '绿洲',
|
||||||
|
groups: [
|
||||||
|
{
|
||||||
|
key: 0,
|
||||||
|
name: '开屏广告',
|
||||||
|
quickFind: true,
|
||||||
|
matchTime: 10000,
|
||||||
|
actionMaximum: 1,
|
||||||
|
resetMatch: 'app',
|
||||||
|
rules: [
|
||||||
|
{
|
||||||
|
matches: '[text*="跳过"][text.length<=10]',
|
||||||
|
snapshotUrls: 'https://i.gkd.li/import/13434430',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 1,
|
||||||
|
name: '首页-推荐广告',
|
||||||
|
quickFind: true,
|
||||||
|
matchTime: 10000,
|
||||||
|
actionMaximum: 1,
|
||||||
|
resetMatch: 'app',
|
||||||
|
rules: [
|
||||||
|
{
|
||||||
|
key: 0,
|
||||||
|
matches:
|
||||||
|
'ImageView[id="com.sina.oasis:id/gdt_v2_banner_ad_close_btn"]',
|
||||||
|
snapshotUrls: 'https://i.gkd.li/import/13434468',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
preKeys: 0,
|
||||||
|
matches: '[text*="关闭此广告"][text.length<=10]',
|
||||||
|
snapshotUrls: 'https://i.gkd.li/import/13434471',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user