mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-19 08:15:11 +08:00
feat: 一些软件规则的添加和更新 (#205)
* 初步导入了每日赛车的规则 * 更新了一些软件的规则 * chore(actions): permissions * chore(actions): permissions-write-all * chore(format): change LF to CRLF * chore: revise after review * chore: 规则优化 --------- Co-authored-by: Long Miao <longmiaohez@163.com> Co-authored-by: lisonge <i@songe.li>
This commit is contained in:
@@ -7,28 +7,30 @@ export default defineAppConfig({
|
||||
{
|
||||
key: 0,
|
||||
name: '朋友圈广告',
|
||||
desc: '朋友圈信息流广告,点击关闭按钮,确认关闭',
|
||||
desc: '点击广告卡片右上角关闭按钮出现菜单,确认关闭',
|
||||
activityIds: 'com.tencent.mm.plugin.sns.ui.SnsTimeLineUI',
|
||||
exampleUrls: [
|
||||
'https://github.com/gkd-kit/subscription/assets/38517192/c9ae4bba-a748-4755-b5e4-c7ad3d489a79',
|
||||
],
|
||||
rules: [
|
||||
{
|
||||
matches: 'TextView[text*="广告"] + TextView[text="关闭该广告"]',
|
||||
// 需要快照
|
||||
},
|
||||
{
|
||||
name: '点击广告卡片右上角',
|
||||
matches: 'ImageView - TextView[text="广告"][id!=null][index=0]',
|
||||
snapshotUrls: ['https://gkd-kit.gitee.io/import/12642588'],
|
||||
},
|
||||
// 以下是[确认关闭按钮]出现的情况
|
||||
{
|
||||
matches: '[text="关闭该广告的原因"] +(2) [text="直接关闭"]',
|
||||
snapshotUrls: ['https://gkd-kit.gitee.io/import/12663984'],
|
||||
},
|
||||
{
|
||||
matches:
|
||||
'[text^="你觉得这条广告怎么样"] + FrameLayout >2 @LinearLayout[clickable=true] > [text="关闭该广告"]',
|
||||
snapshotUrls: ['https://gkd-kit.gitee.io/import/12642584'],
|
||||
},
|
||||
{
|
||||
matches: '[text="关闭该广告的原因"] +(2) [text="直接关闭"]',
|
||||
snapshotUrls: ['https://gkd-kit.gitee.io/import/12663984'],
|
||||
matches: 'TextView[text*="广告"] + TextView[text="关闭该广告"]',
|
||||
// 需要快照
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user