perf(豆瓣): 自动选择不感兴趣弹窗, (默认禁用)信息流广告

This commit is contained in:
二刺螈 2023-09-07 23:23:18 +08:00
parent 1adfa8f91d
commit 04b07a8f3f

View File

@ -47,6 +47,7 @@ export default defineAppConfig({
{
key: 3,
name: '信息流广告',
enable: false,
desc: '首页动态/推荐,帖子底部,点击广告关闭后出现关闭原因底部菜单-选择不感兴趣',
activityIds: [
'com.douban.frodo.activity.SplashActivity',
@ -55,10 +56,6 @@ export default defineAppConfig({
'com.douban.frodo.subject.activity.ForumTopicActivity',
],
rules: [
{
matches: '[text="不感兴趣"][id="com.douban.frodo:id/mainText"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12548016',
},
{
matches:
'ImageView[id="com.douban.frodo:id/avatar"][index=0] +n ImageView[id="com.douban.frodo:id/menu_item"]',
@ -68,11 +65,6 @@ export default defineAppConfig({
'https://gkd-kit.gitee.io/import/12548046',
],
},
{
matches:
'TextView < FrameLayout + FrameLayout > ImageView +3 FrameLayout > ImageView',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12548476',
},
{
matches: '[id$="ad_not_interest"]',
snapshotUrls: [
@ -82,6 +74,21 @@ export default defineAppConfig({
},
],
},
{
key: 7,
name: '自动选择不感兴趣弹窗',
desc: '广告关闭原因底部菜单-选择不感兴趣',
activityIds: [
'com.douban.frodo.activity.SplashActivity',
'com.douban.frodo.status.activity.StatusDetailActivity',
'com.douban.frodo.subject.structure.activity.MovieActivity',
'com.douban.frodo.subject.activity.ForumTopicActivity',
],
rules: {
matches: '[text="不感兴趣"][id="com.douban.frodo:id/mainText"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12548016',
},
},
{
key: 4,
cd: 10000,