mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-23 02:05:06 +08:00
feat(知乎): 问题-回答列表-卡片广告(优化规则、补充快照) (#3763)
* feat 推荐页广告卡片(新增规则) * feat 问题-回答列表-卡片广告(优化规则) * fix rename key:[5,6]
This commit is contained in:
@@ -53,23 +53,67 @@ export default defineAppConfig({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 5,
|
key: 5,
|
||||||
name: '推荐页广告卡片',
|
name: '分段广告-推荐页广告卡片',
|
||||||
desc: '赚稿费广告卡片,盐选推荐广告,知乎学课堂,汽车广告',
|
desc: '赚稿费广告卡片,盐选推荐广告,知乎学课堂,汽车广告',
|
||||||
activityIds: 'com.zhihu.android.app.ui.activity.MainActivity',
|
|
||||||
rules: [
|
rules: [
|
||||||
'[id="com.zhihu.android:id/content"] >2 TextView[text="不感兴趣"][id="com.zhihu.android:id/title"]', // 1686989681860
|
{
|
||||||
'TextView[text=`内容质量差`][id=`com.zhihu.android:id/tv_content`]',
|
key: 0,
|
||||||
'@ImageView[id=`com.zhihu.android:id/menu`] < FrameLayout - * > TextView[text^=`广告`]', // 1687913210243 1686989714786
|
activityIds: 'com.zhihu.android.app.ui.activity.MainActivity',
|
||||||
'@ImageView[id=null][clickable=true] -n TextView[text*=`广告`][index=0]', // 1687418944396 1686924015259
|
matches:
|
||||||
|
'[id="com.zhihu.android:id/content"] >2 TextView[text="不感兴趣"][id="com.zhihu.android:id/title"]',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 1,
|
||||||
|
activityIds: 'com.zhihu.android.app.ui.activity.MainActivity',
|
||||||
|
matches:
|
||||||
|
'TextView[text=`内容质量差`][id=`com.zhihu.android:id/tv_content`]',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 2,
|
||||||
|
activityIds: 'com.zhihu.android.app.ui.activity.MainActivity',
|
||||||
|
matches:
|
||||||
|
'@ImageView[id=`com.zhihu.android:id/menu`] < FrameLayout - * > TextView[text^=`广告`]',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 3,
|
||||||
|
activityIds: 'com.zhihu.android.app.ui.activity.MainActivity',
|
||||||
|
matches:
|
||||||
|
'@ImageView[id=null][clickable=true] -n TextView[text*=`广告`][index=0]',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 6,
|
key: 6,
|
||||||
name: '问题-回答列表-卡片广告',
|
name: '分段广告-问题-回答列表-卡片广告',
|
||||||
activityIds: 'com.zhihu.android.ContentActivity',
|
|
||||||
rules: [
|
rules: [
|
||||||
'@ImageView -n TextView[text=`广告`][index=0]', // 1687787712268 1687787635158
|
{
|
||||||
'ImageView[id=null] + TextView[text!=null][id=null] + ViewGroup > ImageView[clickable=true]', // 1688028432747
|
key: 0,
|
||||||
|
activityIds: 'com.zhihu.android.ContentActivity',
|
||||||
|
quickFind: true,
|
||||||
|
matches: '@ImageView[clickable=true] -n [text="广告"]',
|
||||||
|
snapshotUrls: 'https://i.gkd.li/import/13849671',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 1,
|
||||||
|
activityIds: 'com.zhihu.android.ContentActivity',
|
||||||
|
matches:
|
||||||
|
'ImageView[id=null] + TextView[text!=null][id=null] + ViewGroup > ImageView[clickable=true]',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 2,
|
||||||
|
activityIds: 'com.zhihu.android.ContentActivity',
|
||||||
|
quickFind: true,
|
||||||
|
matches: '@ImageView[clickable=true] -3 * > [text="广告"]',
|
||||||
|
snapshotUrls: 'https://i.gkd.li/import/13849442',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 90,
|
||||||
|
preKeys: [0],
|
||||||
|
activityIds: 'com.zhihu.android.ContentActivity',
|
||||||
|
quickFind: true,
|
||||||
|
matches: '@[clickable=true] >3 [text="内容不感兴趣"]',
|
||||||
|
snapshotUrls: 'https://i.gkd.li/import/13849689',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user