mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-18 07:45:10 +08:00
39 lines
1.0 KiB
TypeScript
39 lines
1.0 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'cn.wps.moffice_eng',
|
|
name: 'WPS',
|
|
groups: [
|
|
{
|
|
key: 0,
|
|
name: '开屏广告',
|
|
activityIds: 'cn.wps.moffice.documentmanager.PreStartActivity',
|
|
rules: '[id=`cn.wps.moffice_eng:id/splash_skip`]',
|
|
},
|
|
{
|
|
key: 1,
|
|
name: '首页-文档列表广告',
|
|
exampleUrls: [
|
|
'https://github.com/gkd-kit/subscription/assets/38517192/57787554-0443-4bc0-9f29-1759aae07b9b',
|
|
],
|
|
activityIds: [
|
|
'cn.wps.moffice.main.StartPublicActivity',
|
|
'cn.wps.moffice.main.local.HomeRootActivity',
|
|
],
|
|
rules: [
|
|
{
|
|
matches: '[text="关闭当前广告"]',
|
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/12505365',
|
|
},
|
|
{
|
|
matches: '[id$="/nativeclose"]',
|
|
snapshotUrls: [
|
|
'https://gkd-kit.gitee.io/import/12505350',
|
|
'https://gkd-kit.gitee.io/import/12505286',
|
|
],
|
|
},
|
|
],
|
|
},
|
|
],
|
|
});
|