mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-19 00:05:19 +08:00
perf(豆瓣): 自动选择不感兴趣弹窗, (默认禁用)信息流广告
This commit is contained in:
@@ -47,6 +47,7 @@ export default defineAppConfig({
|
|||||||
{
|
{
|
||||||
key: 3,
|
key: 3,
|
||||||
name: '信息流广告',
|
name: '信息流广告',
|
||||||
|
enable: false,
|
||||||
desc: '首页动态/推荐,帖子底部,点击广告关闭后出现关闭原因底部菜单-选择不感兴趣',
|
desc: '首页动态/推荐,帖子底部,点击广告关闭后出现关闭原因底部菜单-选择不感兴趣',
|
||||||
activityIds: [
|
activityIds: [
|
||||||
'com.douban.frodo.activity.SplashActivity',
|
'com.douban.frodo.activity.SplashActivity',
|
||||||
@@ -55,10 +56,6 @@ export default defineAppConfig({
|
|||||||
'com.douban.frodo.subject.activity.ForumTopicActivity',
|
'com.douban.frodo.subject.activity.ForumTopicActivity',
|
||||||
],
|
],
|
||||||
rules: [
|
rules: [
|
||||||
{
|
|
||||||
matches: '[text="不感兴趣"][id="com.douban.frodo:id/mainText"]',
|
|
||||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12548016',
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
matches:
|
matches:
|
||||||
'ImageView[id="com.douban.frodo:id/avatar"][index=0] +n ImageView[id="com.douban.frodo:id/menu_item"]',
|
'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',
|
'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"]',
|
matches: '[id$="ad_not_interest"]',
|
||||||
snapshotUrls: [
|
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,
|
key: 4,
|
||||||
cd: 10000,
|
cd: 10000,
|
||||||
|
|||||||
Reference in New Issue
Block a user