mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 08:44:55 +08:00
feat(大学搜题酱): 规则优化 (#2099)
* feat(大学搜题酱):规则优化 * Update com.zmzx.college.search.ts * feat(大学搜题酱): 开屏广告 --------- Co-authored-by: lisonge <i@songe.li> close #2097
This commit is contained in:
@@ -8,7 +8,9 @@ export default defineAppConfig({
|
||||
key: 0,
|
||||
name: '开屏广告',
|
||||
quickFind: true,
|
||||
activityIds: 'com.zmzx.college.search.activity.init.InitActivity',
|
||||
matchTime: 10000,
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
rules: ['TextView[text^="跳过"][text.length<=3]'],
|
||||
snapshotUrls: [
|
||||
'https://i.gkd.li/import/12867875',
|
||||
@@ -20,6 +22,10 @@ export default defineAppConfig({
|
||||
enable: false,
|
||||
key: 1,
|
||||
name: '首页-推送通知',
|
||||
quickFind: true,
|
||||
matchTime: 10000,
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
activityIds:
|
||||
'com.zmzx.college.search.activity.main.activity.MainActivity',
|
||||
rules: 'ImageView[id="com.zmzx.college.search:id/siv_dialog_close"]',
|
||||
@@ -29,15 +35,27 @@ export default defineAppConfig({
|
||||
key: 2,
|
||||
name: '弹窗广告',
|
||||
desc: '会出现在搜题页面与我的页面',
|
||||
quickFind: true,
|
||||
matchLauncher: true,
|
||||
activityIds: [
|
||||
'com.zmzx.college.search.activity.main.activity.MainActivity',
|
||||
'com.zmzx.college.search.activity.questionsearch.camera.activity.PicSearchResultActivity',
|
||||
],
|
||||
rules: 'ImageView[id="com.zmzx.college.search:id/iv_close"]',
|
||||
rules: [
|
||||
{
|
||||
quickFind: true,
|
||||
matches: 'ImageView[id="com.zmzx.college.search:id/iv_close"]',
|
||||
snapshotUrls: [
|
||||
'https://i.gkd.li/import/12867751',
|
||||
'https://i.gkd.li/import/12894813',
|
||||
'https://i.gkd.li/import/13345633', // matchLauncher: true,
|
||||
],
|
||||
},
|
||||
{
|
||||
name: '教材界面',
|
||||
matches:
|
||||
'[text="广告"] <2 ViewGroup -3 ViewGroup > @ViewGroup[clickable=true] > ImageView',
|
||||
snapshotUrls: 'https://i.gkd.li/import/13346628',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -55,17 +73,24 @@ export default defineAppConfig({
|
||||
key: 4,
|
||||
name: '教材-底部广告',
|
||||
quickFind: true,
|
||||
matchLauncher: true,
|
||||
activityIds: [
|
||||
'com.zmzx.college.search.activity.booksearch.result.activity.SearchScanCodeResultDxActivity',
|
||||
],
|
||||
rules: '[id="com.zmzx.college.search:id/close"]',
|
||||
snapshotUrls: 'https://i.gkd.li/import/13063381',
|
||||
snapshotUrls: [
|
||||
'https://i.gkd.li/import/13063381',
|
||||
'https://i.gkd.li/import/13346621', // matchLauncher: true,
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 5,
|
||||
name: '升级弹窗',
|
||||
enable: false,
|
||||
quickFind: true,
|
||||
matchTime: 10000,
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
activityIds: [
|
||||
'com.zmzx.college.search.activity.main.activity.MainActivity',
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user