From 067aff64b671332a1d3f6ea3a3e24a93cc8ee652 Mon Sep 17 00:00:00 2001 From: Xicheng Guo Date: Thu, 26 Sep 2024 15:11:07 +0800 Subject: [PATCH] update --- app/src/main/assets/skip_config_v3.yaml | 369 +++++++++++--------- app/src/main/java/com/android/skip/MyApp.kt | 2 +- docs/inspect/InspectHeader.vue | 2 +- 3 files changed, 213 insertions(+), 160 deletions(-) diff --git a/app/src/main/assets/skip_config_v3.yaml b/app/src/main/assets/skip_config_v3.yaml index 979d31f0..03dcc5fa 100644 --- a/app/src/main/assets/skip_config_v3.yaml +++ b/app/src/main/assets/skip_config_v3.yaml @@ -1,158 +1,211 @@ -- appName: 京东阅读 - packageName: com.jd.app.reader - skipIds: - - id: com.jd.app.reader:id/mJumpBtn - file: 7ba85f98-5b07-4947-95e0-dca6431b1fc6&nodeId=10 - skipBounds: - - bound: 1243,176,1383,316 - resolution: 1440x3200 - file: 20f3db03-af60-4dc3-885a-b954b985931f&nodeId=14 - - -- appName: 前程无忧51Job - packageName: com.job.android - skipIds: - - id: com.job.android:id/skipBtn - file: ee283a25-cbbf-43b0-84dd-aaf9ccf24c83&nodeId=10 - -- appName: 酷安 - packageName: com.coolapk.market - skipTexts: - - text: 跳过 - length: 4 - file: 94969846-73e3-41de-aca0-ad9994566fc6&nodeId=46 - skipBounds: - - bound: 1244,176,1384,316 - file: 92e729ea-dd19-4384-93af-ec7581f306cf&nodeId=66 - -- appName: 铁路12306 - packageName: com.MobileTicket - skipIds: - - id: com.MobileTicket:id/tv_skip - file: b8592c72-1a8a-42ea-8022-2ba15bc83444&nodeId=9 - -- appName: 人人视频 - packageName: com.example.pptv - skipTexts: - - text: 跳过 - length: 7 - file: 84603cb6-3647-42aa-a0f9-e013a3c1e74c&nodeId=67 - -- appName: CSDN - packageName: net.csdn.csdnplus - skipTexts: - - text: 跳过 - length: 5 - file: 7d45a0ad-f0ce-4856-b38b-dd545bfadeb5&nodeId=28 - skipBounds: - - bound: 1244,176,1384,316 - file: e2c456c9-2db5-4ff9-9f79-f42acf557358&nodeId=13 - -- appName: 豆瓣 - packageName: com.douban.frodo - skipTexts: - - text: 跳过 - length: 3 - file: 7aa2544b-8a80-41f3-bf0c-ee03c7cf83b2&nodeId=107 - skipIds: - - id: com.douban.frodo:id/ad_mark - file: cfe9660a-1d45-4904-a8a7-8d846faa1a49&nodeId=14 - click: 1280,180 - -- appName: 什么值得买 - packageName: com.smzdm.client.android - skipIds: - - id: com.smzdm.client.android:id/tv_skip - file: 2adae253-623d-4fd3-ad75-b5b32b667dcd&nodeId=18 - -- appName: 哔哩哔哩 - packageName: tv.danmaku.bili - skipIds: - - id: tv.danmaku.bili:id/count_down - file: 368caf09-c152-4f6b-b8dd-3ee4718df65d&nodeId=26 - -- appName: 小时工记账 - packageName: com.julangling.xsgjz - skipTexts: - - text: 跳过 - length: 4 - file: 28b730a3-5ac7-44c7-8f8a-9daf1b8effbe&nodeId=27 - skipBounds: - - bound: 1244,176,1384,316 - file: 43bcef4b-4b5b-4b63-a7f2-ad28e4f5f690&nodeId=30 - -- appName: 搜狗输入法 - packageName: com.sohu.inputmethod.sogou - skipTexts: - - text: 跳过 - length: 2 - file: 450b0add-b8e2-4cac-9b49-015744bb786f&nodeId=14 - -- appName: 菜鸟 - packageName: com.cainiao.wireless - skipTexts: - - text: 跳过 - length: 4 - file: 5656e116-5a93-44da-8687-1a1dec170984&nodeId=11 - -- appName: 高德地图 - packageName: com.autonavi.minimap - skipTexts: - - text: 跳过 - length: 2 - file: 57861a13-956b-4ae1-be60-d77c33b82010&nodeId=61 - -- appName: 帆书 - packageName: io.dushu.fandengreader - skipIds: - - id: io.dushu.fandengreader:id/layout_skip - file: 88ad5f6b-e65b-4424-be8e-ab57e0eb613b&nodeId=9 - -- appName: 腾讯微云 - packageName: com.qq.qcloud - skipBounds: - - bound: 1223,177,1384,289 - activityName: com.qq.qcloud.activity.WeiyunRootActivity - file: a310356a-4841-40fd-8a4f-314e77318230&nodeId=10 - -- appName: 鹿路通 - packageName: com.psbc.citizencard - skipTexts: - - text: 跳过 - length: 4 - file: bb3de897-19d4-4c6d-ac7a-e11130420b4a&nodeId=8 - -- appName: 滴滴出行 - packageName: com.sdu.didi.psnger - skipTexts: - - text: 跳过 - length: 2 - file: e835b293-7845-4988-9423-fe7f9d740d43&nodeId=13 - -- appName: 知乎 - packageName: com.zhihu.android - skipIds: - - id: com.zhihu.android:id/btn_skip - file: 812b304e-63fd-42da-b200-7497a2e635c4&nodeId=21 - -- appName: 汽水音乐 - packageName: com.luna.music - skipBounds: - - bound: 1244,176,1384,316 - file: ab69a19e-56e8-4983-9656-cdbab1b09682&nodeId=13 - -- appName: 爱奇艺 - packageName: com.qiyi.video - skipTexts: - - text: 关闭 - -- appName: 爱奇艺极速版 - packageName: com.qiyi.video.lite - skipTexts: - - text: 关闭 - -- appName: CCD复古胶片相机 - packageName: com.tetlbm.rhcnq - skipBounds: - - bound: 912,144,1032,264 - file: 5e5248ef-33ff-4a5c-9f7d-f4bae50ff7e5&nodeId=12 \ No newline at end of file +- appName: 京东读书 + packageName: com.jd.app.reader + skipBounds: + - bound: 1243,176,1383,316 + activityName: com.jingdong.app.reader.logo.JdLogoActivity + file: fileId=20f3db03-af60-4dc3-885a-b954b985931f&nodeId=14 + desc: 1440x3200分辨率下圆形开屏广告按钮 + skipIds: + - id: com.jd.app.reader:id/mJumpBtn + activityName: com.jingdong.app.reader.logo.JdLogoActivity + file: fileId=7ba85f98-5b07-4947-95e0-dca6431b1fc6&nodeId=10 + desc: 开屏广告跳过按钮 + +- appName: 小时工记账 + packageName: com.julangling.xsgjz + skipBounds: + - bound: 1244,176,1384,316 + activityName: com.julangling.xsgmain.ui.splash.SplashActivity + file: fileId=43bcef4b-4b5b-4b63-a7f2-ad28e4f5f690&nodeId=30 + desc: 1440x3200分辨率下圆形开屏广告按钮 + +- appName: 什么值得买 + packageName: com.smzdm.client.android + skipIds: + - id: com.smzdm.client.android:id/tv_skip + activityName: com.smzdm.client.android.app.WelComeActivity + file: fileId=2adae253-623d-4fd3-ad75-b5b32b667dcd&nodeId=18 + desc: 开屏广告 + +- appName: 哔哩哔哩 + packageName: tv.danmaku.bili + skipIds: + - id: tv.danmaku.bili:id/count_down + activityName: tv.danmaku.bili.MainActivityV2 + file: fileId=368caf09-c152-4f6b-b8dd-3ee4718df65d&nodeId=26 + desc: 开屏广告 + +- appName: CSDN + packageName: net.csdn.csdnplus + skipIds: + - id: com.byted.pangle.m:id/tt_splash_skip_btn + - id: net.csdn.csdnplus:id/vlion_ad_closed + activityName: net.csdn.csdnplus.activity.SplashActivity + file: fileId=7d45a0ad-f0ce-4856-b38b-dd545bfadeb5&nodeId=17 + desc: 开屏广告 + skipBounds: + - bound: 1244,176,1384,316 + activityName: net.csdn.csdnplus.activity.SplashActivity + file: fileId=e2c456c9-2db5-4ff9-9f79-f42acf557358&nodeId=13 + desc: 1440x3200分辨率下圆形开屏广告按钮 + +- appName: 菜鸟 + packageName: com.cainiao.wireless + skipIds: + - id: com.cainiao.wireless:id/homesplash_close_fullscreen + activityName: com.cainiao.wireless.homepage.view.activity.AdsActivity + file: fileId=5656e116-5a93-44da-8687-1a1dec170984&nodeId=11 + desc: 开屏广告 + - id: com.cainiao.wireless:id/tt_splash_skip_btn + +- appName: 豆瓣 + packageName: com.douban.frodo + skipIds: + - id: com.douban.frodo:id/ad_mark + activityName: com.douban.frodo.activity.SplashActivity + file: fileId=cfe9660a-1d45-4904-a8a7-8d846faa1a49&nodeId=14 + desc: 1440x3200分辨率下无法选中的跳过按钮 + click: 1280,180 + +- appName: 知乎 + packageName: com.zhihu.android + skipIds: + - id: com.zhihu.android:id/btn_skip + activityName: com.zhihu.android.app.ui.activity.LauncherActivity + file: fileId=812b304e-63fd-42da-b200-7497a2e635c4&nodeId=21 + desc: 开屏广告 + +- appName: 帆书 + packageName: io.dushu.fandengreader + skipIds: + - id: io.dushu.fandengreader:id/layout_skip + activityName: io.dushu.fandengreader.ad.LoadingAdActivity + file: fileId=88ad5f6b-e65b-4424-be8e-ab57e0eb613b&nodeId=9 + desc: 开屏广告 + +- appName: 酷安 + packageName: com.coolapk.market + skipBounds: + - bound: 1244,176,1384,316 + activityName: com.coolapk.market.view.main.MainActivity + file: fileId=92e729ea-dd19-4384-93af-ec7581f306cf&nodeId=66 + desc: 1440x3200分辨率下圆形开屏广告按钮 + skipIds: + - id: com.byted.pangle.m:id/tt_splash_skip_btn + +- appName: 腾讯微云 + packageName: com.qq.qcloud + skipBounds: + - bound: 1223,177,1384,289 + activityName: com.qq.qcloud.activity.WeiyunRootActivity + file: fileId=a310356a-4841-40fd-8a4f-314e77318230&nodeId=10 + desc: 1440x3200分辨率下开屏广告 + skipIds: + - id: com.qq.qcloud:id/gdt_ad_text + +- appName: 汽水音乐 + packageName: com.luna.music + skipBounds: + - bound: 1244,176,1384,316 + activityName: com.luna.biz.ad.view.container.AdActivity + file: fileId=ab69a19e-56e8-4983-9656-cdbab1b09682&nodeId=13 + desc: 1440x3200分辨率下开屏广告 + +- appName: 铁路12306 + packageName: com.MobileTicket + skipIds: + - id: com.MobileTicket:id/tv_skip + activityName: com.MobileTicket.ui.dialog.SplashAdDialog + file: fileId=b8592c72-1a8a-42ea-8022-2ba15bc83444&nodeId=9 + desc: 开屏广告 + +- appName: 前程无忧51Job + packageName: com.job.android + skipIds: + - id: com.job.android:id/skipBtn + activityName: com.job.android.pages.launcher.LauncherActivity + file: fileId=ee283a25-cbbf-43b0-84dd-aaf9ccf24c83&nodeId=10 + desc: 开屏广告 + +- appName: 爱奇艺 + packageName: com.qiyi.video + skipTexts: + - text: 关闭 + +- appName: 爱奇艺极速版 + packageName: com.qiyi.video.lite + skipTexts: + - text: 关闭 + +- appName: CCD复古胶片相机 + packageName: com.tetlbm.rhcnq + skipBounds: + - bound: 912,144,1032,264 + +- appName: 小度 + packageName: com.baidu.duer.superapp + skipIds: + - id: com.byted.pangle:id/tt_splash_skip_btn + +- appName: VIVO 应用商店 + packageName: com.bbk.appstore + skipTexts: + - text: 进入首页 + length: 5 + skipIds: + - id: com.bbk.appstore:id/vbutton_title + +- appName: 民生银行 + packageName: cn.com.cmbc.newmbank + skipIds: + - id: cn.com.cmbc.newmbank:id/view_count_down + +- appName: 虎扑 + skipIds: + - id: com.byted.pangle:id/tt_splash_skip_btn + - id: com.hupu.games:id/tv_time + +- appName: 华为时钟 + packageName: com.android.deskclock + skipTexts: + - length: 0 + text: 跳过 + +- appName: 小米音乐 + packageName: com.miui.player + skipTexts: + - text: 跳过 + length: 4 + +- appName: 华尔街见闻 + packageName: com.wallstreetcn.news + skipIds: + - id: com.wallstreetcn.news:id/iv_jump + +- appName: 荣耀自带时钟 + packageName: com.hihonor.deskclock + skipTexts: + - length: 0 + text: 跳过 + +- appName: 今日头条 + packageName: com.ss.android.article.news + skipTexts: + - text: 跳过 + length: 4 + +- appName: 嘀嗒出行 + packageName: com.didapinche.booking + skipTexts: + - text: 跳过 + length: 2 + +- appName: 大麦 + packageName: cn.damai + skipIds: + - id: cn.damai:id/homepage_advert_pb + +- appName: 生日助手 + packageName: cn.sleepycoder.birthday + skipIds: + - id: com.byted.pangle.m:id/tt_splash_skip_btn \ No newline at end of file diff --git a/app/src/main/java/com/android/skip/MyApp.kt b/app/src/main/java/com/android/skip/MyApp.kt index 6acbe614..60566a39 100644 --- a/app/src/main/java/com/android/skip/MyApp.kt +++ b/app/src/main/java/com/android/skip/MyApp.kt @@ -26,7 +26,7 @@ class MyApp : Application(), Configuration.Provider { Utils.init(this) LogUtils.getConfig() - .setLogSwitch(false) // 是否输出日志开关 + .setLogSwitch(true) // 是否输出日志开关 .setConsoleSwitch(true) // 是否在控制台输出日志开关 .setGlobalTag("SKIP_APP") // 全局标签 .setLog2FileSwitch(true) // 是否写入日志文件开关 diff --git a/docs/inspect/InspectHeader.vue b/docs/inspect/InspectHeader.vue index 3456a1e2..d248407a 100644 --- a/docs/inspect/InspectHeader.vue +++ b/docs/inspect/InspectHeader.vue @@ -1,5 +1,5 @@