mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 08:44:55 +08:00
feat(WPS): 文档列表广告规则优化,升级提示,弹窗广告,跳过开启WPS云服务 (#972)
* fix(WPS): 一些规则(gkd-kit#967) - 首页-文档列表广告规则优化 - 升级提示 * feat(WPS): 首页-弹窗广告、开启WPS云服务 close #967
This commit is contained in:
@@ -22,8 +22,11 @@ export default defineAppConfig({
|
||||
],
|
||||
rules: [
|
||||
{
|
||||
matches: '[text="关闭当前广告"]',
|
||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12505365',
|
||||
matches: '[text="关闭当前广告"||text="不喜欢此广告"]',
|
||||
snapshotUrls: [
|
||||
'https://gkd-kit.gitee.io/import/12505365',
|
||||
'https://gkd-kit.songe.li/import/12882277',
|
||||
],
|
||||
},
|
||||
{
|
||||
matches: '[id$="/nativeclose"]',
|
||||
@@ -34,5 +37,56 @@ export default defineAppConfig({
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 2,
|
||||
name: '首页-弹窗广告',
|
||||
activityIds: [
|
||||
'cn.wps.moffice.main.AfterLoginActivity',
|
||||
'com.android.packageinstaller.permission.ui.GrantPermissionsActivity',
|
||||
],
|
||||
rules: '[id="cn.wps.moffice_eng:id/afterlogin_cancel"]',
|
||||
snapshotUrls: [
|
||||
'https://gkd-kit.songe.li/import/12882589',
|
||||
'https://gkd-kit.songe.li/import/12882712',
|
||||
],
|
||||
},
|
||||
{
|
||||
enable: false,
|
||||
key: 3,
|
||||
name: '升级提示',
|
||||
activityIds: [
|
||||
'com.android.packageinstaller.permission.ui.GrantPermissionsActivity',
|
||||
'cn.wps.moffice.main.local.HomeRootActivity',
|
||||
],
|
||||
rules:
|
||||
'[id="cn.wps.moffice_eng:id/close_new_func_guide_dialog_imageView"]',
|
||||
snapshotUrls: 'https://gkd-kit.songe.li/import/12882371',
|
||||
},
|
||||
{
|
||||
enable: false,
|
||||
key: 4,
|
||||
name: '开启WPS云服务',
|
||||
desc: '自动点击不开启',
|
||||
activityIds: [
|
||||
'cn.wps.moffice.main.cloud.roaming.login.core.QingLoginActivity',
|
||||
'com.tencent.mm.plugin.webview.ui.tools.SDKOAuthUI',
|
||||
'com.tencent.mm.ui.base.w',
|
||||
],
|
||||
rules: [
|
||||
{
|
||||
matches:
|
||||
'[id="cn.wps.moffice_eng:id/cloud_protocol_dialog_not_start_btn"]',
|
||||
snapshotUrls: [
|
||||
'https://gkd-kit.songe.li/import/12882536',
|
||||
'https://gkd-kit.songe.li/import/12882610',
|
||||
'https://gkd-kit.songe.li/import/12882678',
|
||||
],
|
||||
},
|
||||
{
|
||||
matches: '[id="cn.wps.moffice_eng:id/dialog_button_positive"]',
|
||||
snapshotUrls: 'https://gkd-kit.songe.li/import/12882554',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user