Skip to content

Commit

Permalink
perf(网易有道词典): 局部广告-卡片广告
Browse files Browse the repository at this point in the history
  • Loading branch information
AIsouler committed Sep 24, 2024
1 parent 6b9ac81 commit 12a7fd6
Showing 1 changed file with 10 additions and 30 deletions.
40 changes: 10 additions & 30 deletions src/apps/com.youdao.dict.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,55 +155,35 @@ export default defineGkdApp({
key: 8,
name: '局部广告-卡片广告',
desc: '点击关闭',
fastQuery: true,
rules: [
{
key: 0,
name: '右下角悬浮卡片',
fastQuery: true,
activityIds: [
'com.youdao.dict.activity.MainActivity',
'com.youdao.dict.activity.DictQueryActivity',
],
matches: '[vid="aivClose"][visibleToUser=true]',
matches:
'[vid="aivClose" || vid="course_one_course_close"][visibleToUser=true]',
exampleUrls:
'https://m.gkd.li/57941037/e365b983-15c7-4ac7-acd7-9d7be4c45160',
snapshotUrls: [
'https://i.gkd.li/i/14468564',
'https://i.gkd.li/i/14468628', // visibleToUser=true 防止在此页面选中屏幕外节点
'https://i.gkd.li/i/14567234',
'https://i.gkd.li/i/14895765',
'https://i.gkd.li/i/17082441',
],
},
{
key: 1,
name: '主页卡片广告',
fastQuery: true,
activityIds: 'com.youdao.dict.activity.MainActivity',
matches: '[vid="home_ad_close"][clickable=true]',
snapshotUrls: 'https://i.gkd.li/i/14009705',
},
{
key: 2,
name: '单词页面下方广告',
fastQuery: true,
activityIds: 'com.youdao.dict.activity.MainActivity',
matches: '[vid="course_four_course_close"]',
exampleUrls:
'https://m.gkd.li/57941037/4045988d-93bb-4aad-80dd-f14da296a214',
snapshotUrls: 'https://i.gkd.li/i/14559287',
},
{
key: 3,
name: '单词页面下方学习技巧',
fastQuery: true,
activityIds: [
'com.youdao.dict.activity.MainActivity',
'.activity.DictQueryActivity',
],
matches: '[vid="course_one_course_close"]',
exampleUrls: 'https://e.gkd.li/61aa8078-fe01-43ee-8989-1ab824f9a0d3',
matches:
'[vid="home_ad_close" || vid="course_four_course_close" || vid="promotion_close_zone"][visibleToUser=true]',
snapshotUrls: [
'https://i.gkd.li/i/14895765',
'https://i.gkd.li/i/17082441',
'https://i.gkd.li/i/14009705',
'https://i.gkd.li/i/14559287',
'https://i.gkd.li/i/17115693',
],
},
],
Expand Down

0 comments on commit 12a7fd6

Please sign in to comment.