mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 01:04:53 +08:00
feat: 对某些 APP 执行 quickFind
This commit is contained in:
@@ -7,6 +7,8 @@ export default defineAppConfig({
|
||||
{
|
||||
key: 0,
|
||||
name: '开屏广告',
|
||||
matchLauncher: true,
|
||||
quickFind: true,
|
||||
rules: [
|
||||
{
|
||||
matches: '[id="android.zhibo8:id/tv_skip_text"]',
|
||||
@@ -21,6 +23,7 @@ export default defineAppConfig({
|
||||
{
|
||||
key: 1,
|
||||
name: '信息流广告',
|
||||
activityIds: 'android.zhibo8.ui.contollers.main.MainActivity',
|
||||
rules: [
|
||||
{
|
||||
key: 0,
|
||||
|
||||
@@ -7,6 +7,7 @@ export default defineAppConfig({
|
||||
{
|
||||
key: 0,
|
||||
name: '开屏广告',
|
||||
quickFind: true,
|
||||
activityIds: 'com.android36kr.app.ui.LogoActivity',
|
||||
rules: '[id="com.android36kr.app:id/tv_skip"]',
|
||||
snapshotUrls: 'https://gkd-kit.songe.li/import/12774811',
|
||||
|
||||
@@ -7,6 +7,7 @@ export default defineAppConfig({
|
||||
{
|
||||
key: 0,
|
||||
name: '开屏广告',
|
||||
quickFind: true,
|
||||
activityIds: 'org.qiyi.android.video.MainActivity',
|
||||
rules:
|
||||
'@FrameLayout[id=`com.qiyi.video:id/unused_res_a`] > LinearLayout[id=null] > TextView[text=`关闭`][id=`com.qiyi.video:id/unused_res_a`]',
|
||||
@@ -14,37 +15,35 @@ export default defineAppConfig({
|
||||
{
|
||||
key: 1,
|
||||
name: '青少年弹窗',
|
||||
quickFind: true,
|
||||
activityIds: 'org.qiyi.basecore.widget.dialog.AlertDialogBottom1',
|
||||
rules: 'Button[id=`com.qiyi.video:id/confirm_btn`][text=`我知道了`]',
|
||||
},
|
||||
{
|
||||
key: 2,
|
||||
name: '我的-顶部广告',
|
||||
quickFind: true,
|
||||
activityIds: 'org.qiyi.android.video.MainActivity',
|
||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12495050',
|
||||
rules: [
|
||||
'[id="com.qiyi.video:id/unused_res_a"] > [id="com.qiyi.video:id/close"]',
|
||||
'@[id="com.qiyi.video:id/unused_res_a"][clickable=true] > [id="com.qiyi.video:id/close"]',
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 3,
|
||||
name: '开启推送通知弹窗',
|
||||
quickFind: true,
|
||||
activityIds: 'org.qiyi.android.video.MainActivity',
|
||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12838152',
|
||||
rules: [
|
||||
'[id="com.qiyi.video:id/title" && text="开启推送通知"]',
|
||||
'[id="com.qiyi.video:id/cancel_btn" && text="暂时不要"]',
|
||||
],
|
||||
rules: ['[id="com.qiyi.video:id/cancel_btn"][text="暂时不要"]'],
|
||||
},
|
||||
{
|
||||
key: 4,
|
||||
name: '版本更新弹窗',
|
||||
quickFind: true,
|
||||
activityIds: 'org.qiyi.android.video.MainActivity',
|
||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12838158',
|
||||
rules: [
|
||||
'[id="com.qiyi.video:id/title" && text="有新版本更新啦!"]',
|
||||
'[id="com.qiyi.video:id/cancel_btn" && text="暂不升级"]',
|
||||
],
|
||||
rules: ['[id="com.qiyi.video:id/cancel_btn"][text="暂不升级"]'],
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
@@ -7,6 +7,8 @@ export default defineAppConfig({
|
||||
{
|
||||
key: 0,
|
||||
name: '开屏广告',
|
||||
quickFind: true,
|
||||
matchLauncher: true,
|
||||
activityIds: [
|
||||
'com.ss.android.article.news.activity.MainActivity',
|
||||
'com.bytedance.ugc.UgcDetailInfoActivity',
|
||||
@@ -25,10 +27,8 @@ export default defineAppConfig({
|
||||
{
|
||||
key: 1,
|
||||
name: '更新弹窗',
|
||||
activityIds: [
|
||||
'com.ss.android.mine.BaseSettingActivity',
|
||||
'com.miui.home.launcher.Launcher',
|
||||
],
|
||||
matchLauncher: true,
|
||||
activityIds: ['com.ss.android.mine.BaseSettingActivity'],
|
||||
rules: [
|
||||
{
|
||||
matches: '[text="升级版本"] +n [desc="关闭"][clickable=true]',
|
||||
|
||||
@@ -7,6 +7,7 @@ export default defineAppConfig({
|
||||
{
|
||||
key: 0,
|
||||
name: '开屏广告',
|
||||
quickFind: true,
|
||||
activityIds: 'com.xiaomi.shop.activity.MainTabActivity',
|
||||
rules: '[id="com.xiaomi.shop:id/skip"]',
|
||||
snapshotUrls: [
|
||||
|
||||
@@ -7,6 +7,7 @@ export default defineAppConfig({
|
||||
{
|
||||
key: 0,
|
||||
name: '开屏广告',
|
||||
quickFind: true,
|
||||
activityIds: 'com.xingin.xhs.index.v2.IndexActivityV2',
|
||||
rules: '[text="广告"] - @FrameLayout > [text="跳过"]',
|
||||
snapshotUrls: 'https://gkd-kit.songe.li/import/12739065',
|
||||
|
||||
Reference in New Issue
Block a user