mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-22 09:45:11 +08:00
feat(大学搜题酱): 全屏广告(优化规则)、局部广告(优化规则) (#3766)
* feat 全屏广告(优化规则) * feat 局部广告(优化规则)
This commit is contained in:
@@ -3,6 +3,7 @@ import { defineAppConfig } from '../types';
|
|||||||
export default defineAppConfig({
|
export default defineAppConfig({
|
||||||
id: 'com.zmzx.college.search',
|
id: 'com.zmzx.college.search',
|
||||||
name: '大学搜题酱',
|
name: '大学搜题酱',
|
||||||
|
deprecatedKeys: [4],
|
||||||
groups: [
|
groups: [
|
||||||
{
|
{
|
||||||
enable: false,
|
enable: false,
|
||||||
@@ -19,28 +20,26 @@ export default defineAppConfig({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 2,
|
key: 2,
|
||||||
name: '弹窗广告',
|
name: '全屏广告',
|
||||||
desc: '会出现在搜题页面与我的页面',
|
|
||||||
|
|
||||||
activityIds: [
|
|
||||||
'com.zmzx.college.search.activity.main.activity.MainActivity',
|
|
||||||
'com.zmzx.college.search.activity.questionsearch.camera.activity.PicSearchResultActivity',
|
|
||||||
],
|
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
key: 0,
|
key: 0,
|
||||||
name: '腾讯广告',
|
name: '腾讯广告',
|
||||||
quickFind: true,
|
quickFind: true,
|
||||||
|
activityIds: [
|
||||||
|
'com.zmzx.college.search.activity.main.activity.MainActivity',
|
||||||
|
'com.zmzx.college.search.activity.questionsearch.camera.activity.PicSearchResultActivity',
|
||||||
|
],
|
||||||
matches: 'ImageView[id="com.zmzx.college.search:id/iv_close"]',
|
matches: 'ImageView[id="com.zmzx.college.search:id/iv_close"]',
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
'https://i.gkd.li/import/12867751',
|
'https://i.gkd.li/import/12867751',
|
||||||
'https://i.gkd.li/import/12894813',
|
'https://i.gkd.li/import/12894813',
|
||||||
'https://i.gkd.li/import/13345633', //
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 1,
|
key: 1,
|
||||||
name: '快手广告-1',
|
name: '快手广告-1',
|
||||||
|
activityIds: 'com.bbk.launcher2.Launcher',
|
||||||
matches:
|
matches:
|
||||||
'[text="广告"] <2 ViewGroup -3 ViewGroup > @ViewGroup[clickable=true] > ImageView',
|
'[text="广告"] <2 ViewGroup -3 ViewGroup > @ViewGroup[clickable=true] > ImageView',
|
||||||
snapshotUrls: 'https://i.gkd.li/import/13346628',
|
snapshotUrls: 'https://i.gkd.li/import/13346628',
|
||||||
@@ -48,9 +47,11 @@ export default defineAppConfig({
|
|||||||
{
|
{
|
||||||
key: 2,
|
key: 2,
|
||||||
name: '快手广告-2',
|
name: '快手广告-2',
|
||||||
|
activityIds:
|
||||||
|
'com.zmzx.college.search.activity.main.activity.MainActivity',
|
||||||
matches: [
|
matches: [
|
||||||
'ViewGroup > ViewGroup > ViewGroup[childCount=2] > ImageView + [text="广告"]',
|
'ViewGroup > ViewGroup > ViewGroup[childCount=2] > ImageView + [text="广告"]',
|
||||||
'ViewGroup > ViewGroup > ViewGroup[childCount=1] > ImageView[childCount=0]',
|
'ViewGroup > ViewGroup > @ViewGroup[childCount=1][clickable=true] > ImageView[childCount=0]',
|
||||||
],
|
],
|
||||||
snapshotUrls: 'https://i.gkd.li/import/13451304',
|
snapshotUrls: 'https://i.gkd.li/import/13451304',
|
||||||
},
|
},
|
||||||
@@ -71,31 +72,39 @@ export default defineAppConfig({
|
|||||||
matches: '@Image < View +3 View > View > TextView[text$="广告"]',
|
matches: '@Image < View +3 View > View > TextView[text$="广告"]',
|
||||||
snapshotUrls: 'https://i.gkd.li/import/13523288',
|
snapshotUrls: 'https://i.gkd.li/import/13523288',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
key: 5,
|
||||||
|
name: '字节广告-3',
|
||||||
|
quickFind: true,
|
||||||
|
activityIds:
|
||||||
|
'com.bilibili.ship.theseus.detail.UnitedBizDetailsActivity',
|
||||||
|
matches:
|
||||||
|
'@[clickable=true] > [id="com.zmzx.college.search:id/tt_reward_full_count_down_after_close"]',
|
||||||
|
snapshotUrls: 'https://i.gkd.li/import/12893408',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 3,
|
key: 3,
|
||||||
name: '资料库-弹窗广告',
|
name: '局部广告',
|
||||||
activityIds: [
|
rules: [
|
||||||
'com.bilibili.ship.theseus.detail.UnitedBizDetailsActivity',
|
{
|
||||||
],
|
key: 0,
|
||||||
rules:
|
|
||||||
'@LinearLayout > ImageView[id="com.zmzx.college.search:id/tt_reward_full_count_down_after_close"]',
|
|
||||||
quickFind: true,
|
quickFind: true,
|
||||||
snapshotUrls: 'https://i.gkd.li/import/12893408',
|
activityIds:
|
||||||
|
'com.zmzx.college.search.activity.booksearch.result.activity.SearchScanCodeResultDxActivity',
|
||||||
|
matches: '[vid="close_m_image_left_text_right_app_compliance"]',
|
||||||
|
snapshotUrls: 'https://i.gkd.li/import/13849755',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 4,
|
key: 1,
|
||||||
name: '教材-底部广告',
|
|
||||||
quickFind: true,
|
quickFind: true,
|
||||||
|
activityIds:
|
||||||
activityIds: [
|
|
||||||
'com.zmzx.college.search.activity.booksearch.result.activity.SearchScanCodeResultDxActivity',
|
'com.zmzx.college.search.activity.booksearch.result.activity.SearchScanCodeResultDxActivity',
|
||||||
],
|
matches:
|
||||||
rules: '[id="com.zmzx.college.search:id/close"]',
|
'[id^="com.zmzx.college.search:id/ad_flag_source"] - * > [id="com.zmzx.college.search:id/close"]',
|
||||||
snapshotUrls: [
|
snapshotUrls: 'https://i.gkd.li/import/13063381',
|
||||||
'https://i.gkd.li/import/13063381',
|
},
|
||||||
'https://i.gkd.li/import/13346621', //
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user