feat(微信):分段广告-朋友圈广告 (#3854)

close #3851
This commit is contained in:
jiuqianyuan 2024-01-14 21:54:12 +08:00 committed by GitHub
parent 1c5131c6f0
commit b8c50edfe5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ export default defineAppConfig({
{ {
enable: false, enable: false,
key: 0, key: 0,
name: '朋友圈广告', name: '分段广告-朋友圈广告',
desc: '点击广告卡片右上角广告,直接关闭/出现菜单,确认关闭', desc: '点击广告卡片右上角广告,直接关闭/出现菜单,确认关闭',
quickFind: true, quickFind: true,
activityIds: [ activityIds: [
@ -51,17 +51,19 @@ export default defineAppConfig({
{ {
preKeys: 0, preKeys: 0,
key: 3, key: 3,
name: '对这条广告不感兴趣-点击[关闭该广告]', name: '广告反馈-点击[关闭该广告]',
matches: matches: 'TextView[text^="关闭"][text$="广告"][clickable=true]',
'TextView[text="你可以这样优化广告推荐"] + TextView[text="关闭该广告"][clickable=true]', snapshotUrls: [
snapshotUrls: 'https://i.gkd.li/import/12907642', 'https://i.gkd.li/import/12907642',
'https://i.gkd.li/import/13926578',
],
}, },
], ],
}, },
{ {
enable: false, enable: false,
key: 12, key: 12,
name: '朋友圈广告-英文版', name: '分段广告-朋友圈广告[英文]',
desc: '点击广告卡片右上角[Sponsored],直接关闭/出现菜单点击[Close the ad],确认关闭', desc: '点击广告卡片右上角[Sponsored],直接关闭/出现菜单点击[Close the ad],确认关闭',
activityIds: 'com.tencent.mm.plugin.sns.ui.SnsTimeLineUI', activityIds: 'com.tencent.mm.plugin.sns.ui.SnsTimeLineUI',
quickFind: true, quickFind: true,
@ -94,7 +96,7 @@ export default defineAppConfig({
}, },
{ {
key: 20, key: 20,
name: '朋友圈广告-繁体', name: '分段广告-朋友圈广告[繁体]',
desc: '点击广告卡片右上角[廣告],出现菜单点击[關閉此廣告],确认关闭', desc: '点击广告卡片右上角[廣告],出现菜单点击[關閉此廣告],确认关闭',
activityIds: 'com.tencent.mm.plugin.sns.ui.SnsTimeLineUI', activityIds: 'com.tencent.mm.plugin.sns.ui.SnsTimeLineUI',
quickFind: true, quickFind: true,
@ -119,7 +121,7 @@ export default defineAppConfig({
// Key1,2,3,4,11 均为授权类的规则 // Key1,2,3,4,11 均为授权类的规则
enable: false, enable: false,
key: 1, key: 1,
name: '电脑微信快捷自动登录', name: '功能类-电脑微信快捷自动登录',
quickFind: true, quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
@ -137,7 +139,7 @@ export default defineAppConfig({
{ {
enable: false, enable: false,
key: 2, key: 2,
name: '浏览器扫码微信登录自动授权', name: '功能类-浏览器扫码微信登录自动授权',
desc: '自动允许使用头像昵称等', desc: '自动允许使用头像昵称等',
quickFind: true, quickFind: true,
matchTime: 10000, matchTime: 10000,
@ -153,7 +155,7 @@ export default defineAppConfig({
{ {
enable: false, enable: false,
key: 3, key: 3,
name: '第三方APP申请使用授权弹窗', name: '功能类-第三方APP申请使用授权弹窗',
desc: '自动点击允许,但由于此界面可以额外新建昵称头像,默认不启用', desc: '自动点击允许,但由于此界面可以额外新建昵称头像,默认不启用',
quickFind: true, quickFind: true,
matchTime: 10000, matchTime: 10000,
@ -166,7 +168,7 @@ export default defineAppConfig({
{ {
enable: false, enable: false,
key: 4, key: 4,
name: '微信读书网页版扫码登录自动授权', name: '功能类-微信读书网页版扫码登录自动授权',
quickFind: true, quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
@ -189,7 +191,7 @@ export default defineAppConfig({
{ {
enable: false, enable: false,
key: 5, key: 5,
name: '微信红包自动领取', name: '功能类-微信红包自动领取',
desc: '自动领取私聊红包,群聊红包', desc: '自动领取私聊红包,群聊红包',
exampleUrls: exampleUrls:
'https://github.com/gkd-kit/subscription/assets/38517192/32cfda78-b2e1-456c-8d85-bfb2bc4683aa', 'https://github.com/gkd-kit/subscription/assets/38517192/32cfda78-b2e1-456c-8d85-bfb2bc4683aa',
@ -229,7 +231,7 @@ export default defineAppConfig({
{ {
enable: false, enable: false,
key: 6, key: 6,
name: '订阅号文章广告', name: '分段广告-订阅号文章广告',
desc: '⚠ 此规则有概率误触。自动点击关闭按钮,必须同时启用【订阅号文章广告反馈】规则', desc: '⚠ 此规则有概率误触。自动点击关闭按钮,必须同时启用【订阅号文章广告反馈】规则',
activityIds: [ activityIds: [
'com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebView', //调整为TmplWebView, 同时兼容多种ID 'com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebView', //调整为TmplWebView, 同时兼容多种ID
@ -265,7 +267,7 @@ export default defineAppConfig({
{ {
enable: false, enable: false,
key: 7, key: 7,
name: '自动选中发送原图', name: '功能类-自动选中发送原图',
desc: '图片和视频选择器-自动选中底部中间的发送原图', desc: '图片和视频选择器-自动选中底部中间的发送原图',
quickFind: true, quickFind: true,
activityIds: [ activityIds: [
@ -287,7 +289,7 @@ export default defineAppConfig({
{ {
enable: false, enable: false,
key: 8, key: 8,
name: '订阅号文章广告反馈', name: '分段广告-订阅号文章广告反馈',
desc: '⚠ 此规则有概率误触。自动点击反馈理由,配合【订阅号文章广告】规则使用', desc: '⚠ 此规则有概率误触。自动点击反馈理由,配合【订阅号文章广告】规则使用',
activityIds: activityIds:
'com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebView', //调整为TmplWebView, 同时兼容多种ID 'com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebView', //调整为TmplWebView, 同时兼容多种ID
@ -323,7 +325,7 @@ export default defineAppConfig({
{ {
enable: false, enable: false,
key: 9, key: 9,
name: '自动查看原图', name: '功能类-自动查看原图',
desc: '自动点击底部左侧[查看原图(*M]按钮', desc: '自动点击底部左侧[查看原图(*M]按钮',
quickFind: true, quickFind: true,
activityIds: 'com.tencent.mm.ui.chatting.gallery.ImageGalleryUI', activityIds: 'com.tencent.mm.ui.chatting.gallery.ImageGalleryUI',
@ -332,7 +334,7 @@ export default defineAppConfig({
}, },
{ {
key: 10, key: 10,
name: '微信小程序-开屏广告', name: '全屏广告-微信小程序-开屏广告',
quickFind: true, quickFind: true,
matchTime: 10000, matchTime: 10000,
// actionMaximum: 1, // 经常需要点2次首次点击过早大概率跳不过 // actionMaximum: 1, // 经常需要点2次首次点击过早大概率跳不过
@ -363,7 +365,7 @@ export default defineAppConfig({
{ {
enable: false, enable: false,
key: 11, key: 11,
name: '网页版文件传输助手扫码自动授权', name: '功能类-网页版文件传输助手扫码自动授权',
quickFind: true, quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
@ -375,7 +377,7 @@ export default defineAppConfig({
{ {
enable: false, enable: false,
key: 13, key: 13,
name: '提瓦特助手小程序-弹窗广告', name: '全屏广告-提瓦特助手小程序-弹窗广告',
activityIds: 'com.tencent.mm.plugin.appbrand.ui.AppBrandUI', activityIds: 'com.tencent.mm.plugin.appbrand.ui.AppBrandUI',
rules: [ rules: [
{ {
@ -399,7 +401,7 @@ export default defineAppConfig({
{ {
enable: false, enable: false,
key: 14, key: 14,
name: '小程序-内部广告', name: '分段广告-小程序-内部广告',
activityIds: ['com.tencent.mm.plugin.appbrand.ui.AppBrandUI'], activityIds: ['com.tencent.mm.plugin.appbrand.ui.AppBrandUI'],
quickFind: true, quickFind: true,
rules: [ rules: [
@ -440,26 +442,20 @@ export default defineAppConfig({
{ {
enable: false, enable: false,
key: 16, key: 16,
name: '小程序-京东购物', name: '全屏广告-小程序-京东购物',
desc: '低价包邮广告', desc: '低价包邮广告',
actionDelay: 500, actionDelay: 500,
actionMaximum: 1, actionMaximum: 1,
activityIds: [ activityIds: 'com.tencent.mm.plugin.appbrand.ui.AppBrandUI',
'com.tencent.mm.plugin.appbrand.ui.AppBrandUI01',
'com.tencent.mm.plugin.appbrand.ui.AppBrandUI00',
],
rules: { rules: {
matches: '@Image -n * > View[text="可横向滚动"]', matches: '@Image -n * > View[text="可横向滚动"]',
action: 'clickCenter', action: 'clickCenter',
snapshotUrls: [ snapshotUrls: ['https://i.gkd.li/import/13298294'],
'https://i.gkd.li/import/13298294', //com.tencent.mm.plugin.appbrand.ui.AppBrandUI01
'https://i.gkd.li/import/13327022', //com.tencent.mm.plugin.appbrand.ui.AppBrandUI00
],
}, },
}, },
{ {
key: 17, key: 17,
name: '青少年模式弹窗', name: '青少年模式',
quickFind: true, quickFind: true,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
@ -476,7 +472,7 @@ export default defineAppConfig({
}, },
{ {
key: 18, key: 18,
name: '青少年模式自动点击验证密码', name: '功能类-青少年模式自动点击验证密码',
desc: '点击“验证密码”以申请临时访问', desc: '点击“验证密码”以申请临时访问',
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'activity', resetMatch: 'activity',
@ -499,7 +495,7 @@ export default defineAppConfig({
}, },
{ {
key: 19, key: 19,
name: '订阅号-展开更早的消息', name: '功能类-订阅号-展开更早的消息',
rules: [ rules: [
{ {
key: 0, key: 0,