mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 00:35:17 +08:00
50 lines
1.3 KiB
TypeScript
50 lines
1.3 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.android.browser',
|
|
name: '小米浏览器',
|
|
groups: [
|
|
{
|
|
key: 0,
|
|
name: '关闭[个性推荐开启提示]',
|
|
activityIds: ['com.android.browser.BrowserActivity'],
|
|
rules: [
|
|
{
|
|
matches:
|
|
'@ImageView[id!=null][clickable=true] -2 [text="个性推荐获得更丰富内容"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/12829403',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 1,
|
|
name: '主页信息流广告',
|
|
quickFind: true,
|
|
activityIds: [
|
|
'com.android.browser.BrowserActivity',
|
|
'com.android.browser.flow.view.FeedbackDialog',
|
|
],
|
|
rules: [
|
|
{
|
|
key: 0,
|
|
matches:
|
|
'@[id!=null][desc="负反馈"][visibleToUser=true] -n * > * > [text="广告"]',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/import/12894221',
|
|
'https://i.gkd.li/import/12893649',
|
|
],
|
|
},
|
|
{
|
|
preKeys: 0,
|
|
key: 1,
|
|
matches: '@FrameLayout > ViewGroup > [text="不感兴趣"]',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/import/12894234',
|
|
'https://i.gkd.li/import/13196059',
|
|
],
|
|
},
|
|
],
|
|
},
|
|
],
|
|
});
|