mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 08:44:55 +08:00
feat(豆瓣): 弹窗广告(优化规则) (#2037)
* feat 弹窗广告(优化规则) * feat(豆瓣): 规则优化 --------- Co-authored-by: lisonge <i@songe.li>
This commit is contained in:
@@ -3,6 +3,7 @@ import { defineAppConfig } from '../types';
|
|||||||
export default defineAppConfig({
|
export default defineAppConfig({
|
||||||
id: 'com.douban.frodo',
|
id: 'com.douban.frodo',
|
||||||
name: '豆瓣',
|
name: '豆瓣',
|
||||||
|
deprecatedKeys: [7],
|
||||||
groups: [
|
groups: [
|
||||||
{
|
{
|
||||||
key: 0,
|
key: 0,
|
||||||
@@ -152,7 +153,6 @@ export default defineAppConfig({
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
// key=7 已被删除,不可使用
|
|
||||||
{
|
{
|
||||||
key: 8,
|
key: 8,
|
||||||
name: '小组讨论详情页广告',
|
name: '小组讨论详情页广告',
|
||||||
@@ -185,20 +185,27 @@ export default defineAppConfig({
|
|||||||
name: '弹窗广告',
|
name: '弹窗广告',
|
||||||
desc: '浏览详情时弹窗广告,点击右上角x',
|
desc: '浏览详情时弹窗广告,点击右上角x',
|
||||||
matchLauncher: true,
|
matchLauncher: true,
|
||||||
quickFind: true,
|
rules: [
|
||||||
rules: {
|
{
|
||||||
activityIds: [
|
key: 0,
|
||||||
|
name: '腾讯广告-1',
|
||||||
|
activityIds:
|
||||||
'com.douban.frodo.subject.structure.activity.MovieActivity',
|
'com.douban.frodo.subject.structure.activity.MovieActivity',
|
||||||
],
|
matches:
|
||||||
matches: [
|
'ImageView - FrameLayout[childCount=5] > FrameLayout[childCount=1] > ImageView',
|
||||||
'[text*="看"][text="查看详情"||text^="去"&&text$="看看"]',
|
snapshotUrls: 'https://i.gkd.li/import/13195565',
|
||||||
'FrameLayout[childCount=5] > FrameLayout[childCount=1] > ImageView',
|
},
|
||||||
],
|
{
|
||||||
|
key: 1,
|
||||||
|
name: '腾讯广告-2',
|
||||||
|
matches:
|
||||||
|
'ImageView -n FrameLayout[childCount=2] > FrameLayout > FrameLayout > ImageView',
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
'https://i.gkd.li/import/13195565',
|
'https://i.gkd.li/import/13296656',
|
||||||
'https://i.gkd.li/import/13296656', //新增ids对应快照
|
'https://i.gkd.li/import/13328126',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 11,
|
key: 11,
|
||||||
|
|||||||
Reference in New Issue
Block a user