Files
AIsouler-GKD_subscription/src/apps/com.jincheng.supercaculator.ts
jiuqianyuan 55c6ab97d9 feat(全能计算器): 弹窗广告 (#2169)
* feat(全能计算器):弹窗广告

* chore(actions): check_format_lint

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

close #2165
2023-11-18 23:05:21 +08:00

38 lines
1.2 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.jincheng.supercaculator',
name: '全能计算器',
groups: [
{
key: 0,
name: '弹窗广告',
desc: '点击右上角x',
rules: [
{
activityIds: 'com.jincheng.supercaculator.activity.MainActivity',
matches: '@Image < View < View TextView[text = "反馈"]',
snapshotUrls: [
'https://i.gkd.li/import/12859523',
'https://i.gkd.li/import/12859545',
],
},
{
activityIds: 'com.jincheng.supercaculator.activity.SplashActivity',
matches:
'TextView < LinearLayout[childCount=2] < FrameLayout[childCount=2] > FrameLayout[childCount=1] > ImageView',
snapshotUrls: ['https://i.gkd.li/import/13261870'],
},
{
// 与"咕咚"app快照类似https://i.gkd.li/import/13348663 可能来自同个sdk
activityIds:
'com.jincheng.supercaculator.activity.basic.CalculatorActivity',
matches:
'[id="android:id/content"] >4 FrameLayout > ImageView + FrameLayout > ImageView',
snapshotUrls: 'https://i.gkd.li/import/13378847',
},
],
},
],
});