mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 00:35:17 +08:00
* fix(夸克): 更新提示 * Update com.quark.browser.ts * chore(actions): check_format_lint * Update com.quark.browser.ts * chore(actions): check_format_lint --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
58 lines
1.6 KiB
TypeScript
58 lines
1.6 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.quark.browser',
|
|
name: '夸克浏览器',
|
|
groups: [
|
|
{
|
|
key: 0,
|
|
name: '小说阅读页面底部广告',
|
|
activityIds: 'com.ucpro.BrowserActivity',
|
|
rules: [
|
|
'[id=`com.quark.browser:id/tv_close_ad`][text=`关闭广告`]',
|
|
'[id=`com.quark.browser:id/ad_close_layout_container`]',
|
|
],
|
|
},
|
|
{
|
|
enable: false,
|
|
key: 2,
|
|
name: '设置默认浏览器提示',
|
|
desc: '点击取消',
|
|
quickFind: true,
|
|
actionMaximum: 1,
|
|
activityIds: 'com.ucpro.BrowserActivity',
|
|
rules: '@Button[text="取消"] + Button[text="去设置"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13249469',
|
|
},
|
|
{
|
|
key: 3,
|
|
name: '更新提示',
|
|
desc: '点击取消',
|
|
quickFind: true,
|
|
actionMaximum: 1,
|
|
activityIds: 'com.ucpro.BrowserActivity',
|
|
rules: [
|
|
{
|
|
key: 0,
|
|
matches: '@Button[text="取消"] + Button[text="更新"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13292512',
|
|
},
|
|
{
|
|
key: 1,
|
|
matches: '@Button[text="取消"] + Button[text="确定"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13455360',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 4,
|
|
name: '弹窗广告',
|
|
quickFind: true,
|
|
actionMaximum: 1,
|
|
activityIds: 'com.ucpro.BrowserActivity',
|
|
rules: 'ImageView[id="com.quark.browser:id/close_img"][clickable=true]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13292571',
|
|
},
|
|
],
|
|
});
|