feat(呱呱天气): 开屏广告、卡片式广告 (#2583)

* feat 开屏广告

* feat 卡片式广告
This commit is contained in:
Kun Jinkao
2023-11-28 19:58:43 +08:00
committed by GitHub
parent 913c4a2d1a
commit 9b3237cde8

View File

@@ -0,0 +1,31 @@
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.qingwatq.weather',
name: '呱呱天气',
groups: [
{
key: 0,
name: '开屏广告',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: '[text$="跳过"][text.length<=10]',
snapshotUrls: 'https://i.gkd.li/import/13476349',
},
{
key: 1,
name: '卡片式广告',
rules: [
{
key: 0,
activityIds: 'com.qingwatq.weather.home.HomeActivity',
matches:
'[id="com.qingwatq.weather:id/titleArea"] + [id="com.qingwatq.weather:id/closeImg"]',
snapshotUrls: 'https://i.gkd.li/import/13476350',
},
],
},
],
});