mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-22 01:35:32 +08:00
feat(抖音): 开屏广告 (#1652)
* Update com.ss.android.ugc.aweme.ts * chore(actions): check_format_lint * feat(抖音): 开屏广告 * feat(抖音): 规则优化 --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: 二刺螈 <i@songe.li> close #1651
This commit is contained in:
@@ -4,9 +4,21 @@ export default defineAppConfig({
|
||||
id: 'com.ss.android.ugc.aweme',
|
||||
name: '抖音',
|
||||
groups: [
|
||||
{
|
||||
key: -1,
|
||||
name: '开屏广告',
|
||||
matchTime: 10000,
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
rules: '[desc="跳过广告"]',
|
||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/13216121',
|
||||
},
|
||||
{
|
||||
key: 0,
|
||||
name: '关闭青少年弹窗',
|
||||
matchTime: 10000,
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
rules: 'Button[text=`开启青少年模式`] + * > Button[text!=null]',
|
||||
},
|
||||
{
|
||||
@@ -14,8 +26,7 @@ export default defineAppConfig({
|
||||
name: '关闭用户推荐',
|
||||
rules: [
|
||||
{
|
||||
activityIds:
|
||||
'com.google.android.material.bottomsheet.BottomSheetDialog',
|
||||
activityIds: 'com.ss.android.ugc.aweme.main.MainActivity',
|
||||
matches:
|
||||
'[id="com.ss.android.ugc.aweme:id/desc"][text="减少此类推荐"]',
|
||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12520962',
|
||||
@@ -49,10 +60,8 @@ export default defineAppConfig({
|
||||
},
|
||||
{
|
||||
key: 2,
|
||||
activityIds: [
|
||||
'com.ss.android.ugc.aweme.main.MainActivity',
|
||||
'com.miui.home.launcher.Launcher',
|
||||
],
|
||||
matchLauncher: true,
|
||||
activityIds: ['com.ss.android.ugc.aweme.main.MainActivity'],
|
||||
name: '关闭朋友推荐弹窗',
|
||||
rules: '[text="朋友推荐"] +2 [id="com.ss.android.ugc.aweme:id/close"]',
|
||||
snapshotUrls: [
|
||||
@@ -63,6 +72,8 @@ export default defineAppConfig({
|
||||
{
|
||||
key: 3,
|
||||
name: '关闭更新弹窗',
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
activityIds: 'com.ss.android.ugc.aweme.main.MainActivity',
|
||||
rules: '@[text="以后再说"] +2 [text="立即升级"]',
|
||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12534016',
|
||||
@@ -84,6 +95,8 @@ export default defineAppConfig({
|
||||
},
|
||||
{
|
||||
key: 6,
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
name: '去商店评分',
|
||||
desc: '点击[取消]',
|
||||
activityIds: 'com.ss.android.ugc.aweme.main.MainActivity',
|
||||
@@ -95,6 +108,8 @@ export default defineAppConfig({
|
||||
{
|
||||
enable: false,
|
||||
key: 10,
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
name: '请求开启通知提示信息',
|
||||
desc: '自动点击“暂不”',
|
||||
activityIds: 'com.ss.android.ugc.aweme.main.MainActivity',
|
||||
|
||||
Reference in New Issue
Block a user