mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-24 02:35:25 +08:00
feat(知乎): 规则优化 (#1548)
* Fix(知乎):回答底部评论顶部的任意广告推荐 * feat(知乎): 规则优化 --------- Co-authored-by: lisonge <i@songe.li> close #1533
This commit is contained in:
@@ -8,14 +8,9 @@ export default defineAppConfig({
|
|||||||
key: 0,
|
key: 0,
|
||||||
name: '开屏广告',
|
name: '开屏广告',
|
||||||
quickFind: true,
|
quickFind: true,
|
||||||
matchLauncher: true,
|
matchTime: 10000,
|
||||||
activityIds: [
|
actionMaximum: 1,
|
||||||
'com.zhihu.android.app.ui.activity', //匹配所有ui.activity
|
resetMatch: 'app',
|
||||||
'com.zhihu.android.app.feed.AdTransparentHostActivity',
|
|
||||||
'com.zhihu.android.ContentActivity',
|
|
||||||
'com.zhihu.android.mixshortcontainer.MixShortContainerActivity',
|
|
||||||
'com.zhihu.android.mix.activity.ContentMixProfileActivity',
|
|
||||||
],
|
|
||||||
rules: 'TextView[id="com.zhihu.android:id/btn_skip"]',
|
rules: 'TextView[id="com.zhihu.android:id/btn_skip"]',
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
'https://gkd-kit.gitee.io/import/12707641', // com.zhihu.android.app.ui.activity.LauncherActivity
|
'https://gkd-kit.gitee.io/import/12707641', // com.zhihu.android.app.ui.activity.LauncherActivity
|
||||||
@@ -114,11 +109,13 @@ export default defineAppConfig({
|
|||||||
key: 4,
|
key: 4,
|
||||||
matches: 'TextView[text*=`回答`][text*=`关注`] + TextView[text=`×`]',
|
matches: 'TextView[text*=`回答`][text*=`关注`] + TextView[text=`×`]',
|
||||||
},
|
},
|
||||||
{
|
// 存在误触,缺乏快照处置,暂时移除
|
||||||
key: 5,
|
// 误触快照:https://i.gkd.li/import/13196039
|
||||||
matches:
|
// {
|
||||||
'TextView[text!=null] + TextView[text*=`赞同`] + View > Image',
|
// key: 5,
|
||||||
},
|
// matches:
|
||||||
|
// 'TextView[text!=null] + TextView[text*=`赞同`] + View > Image',
|
||||||
|
// },
|
||||||
{
|
{
|
||||||
key: 6,
|
key: 6,
|
||||||
matches: 'TextView[text$=`的广告`] - Image[id=null]',
|
matches: 'TextView[text$=`的广告`] - Image[id=null]',
|
||||||
|
|||||||
Reference in New Issue
Block a user