mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 16:54:43 +08:00
feat(直播吧): 分段广告-信息流广告(优化规则)
This commit is contained in:
@@ -7,23 +7,29 @@ export default defineAppConfig({
|
|||||||
groups: [
|
groups: [
|
||||||
{
|
{
|
||||||
key: 1,
|
key: 1,
|
||||||
name: '局部广告-信息流广告',
|
name: '分段广告-信息流广告',
|
||||||
|
desc: '点击[关闭]-点击[不感兴趣]',
|
||||||
quickFind: true,
|
quickFind: true,
|
||||||
activityIds: 'android.zhibo8.ui.contollers.main.MainActivity',
|
activityIds: [
|
||||||
|
'android.zhibo8.ui.contollers.main.MainActivity',
|
||||||
|
'android.zhibo8.ui.contollers.detail.DetailActivity',
|
||||||
|
],
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
key: 0,
|
key: 0,
|
||||||
name: '点击[查看详情]右侧x',
|
name: '点击关闭',
|
||||||
matches:
|
matches: '@[vid="iv_tip"][clickable=true] -2 * > [text="广告"]',
|
||||||
'@[id="android.zhibo8:id/iv_tip"] - [id="android.zhibo8:id/tv_app_download_2"]',
|
exampleUrls:
|
||||||
snapshotUrls: 'https://i.gkd.li/i/12841134',
|
'https://m.gkd.li/57941037/b67e6d84-0373-4985-82da-c8443904c8f0',
|
||||||
|
snapshotUrls: 'https://i.gkd.li/i/14428863',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 1, //不重叠不需要preKeys
|
key: 1,
|
||||||
name: '点击[不感兴趣]',
|
name: '点击不感兴趣',
|
||||||
matches:
|
matches: '@[clickable=true] >3 [text="不感兴趣"]',
|
||||||
'@LinearLayout > [id="android.zhibo8:id/tv_title"][text="不感兴趣"]', // issues/1656, 直接指向text可能不工作
|
exampleUrls:
|
||||||
snapshotUrls: 'https://i.gkd.li/i/12841135',
|
'https://m.gkd.li/57941037/cb130039-0338-4225-91f0-eae4669ed0dc',
|
||||||
|
snapshotUrls: 'https://i.gkd.li/i/14428912',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 2,
|
key: 2,
|
||||||
@@ -36,7 +42,7 @@ export default defineAppConfig({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 2,
|
key: 2,
|
||||||
name: '局部广告-文章底部广告',
|
name: '分段广告-文章底部广告',
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
key: 0,
|
key: 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user