mirror of
https://gitea.redwind.top/Austin/subscription
synced 2024-11-16 10:32:21 +08:00
feat(有道翻译官): 搜索结果下方广告 (#1869)
* 添加 有道翻译官 结果下方广告规则 * feat(有道翻译官): 翻译界面-结果下方广告 --------- Co-authored-by: lisonge <i@songe.li>
This commit is contained in:
parent
9b24d461b1
commit
aecbcddc6d
22
src/apps/com.youdao.translator.ts
Normal file
22
src/apps/com.youdao.translator.ts
Normal file
|
@ -0,0 +1,22 @@
|
|||
import { defineAppConfig } from '../types';
|
||||
|
||||
export default defineAppConfig({
|
||||
id: 'com.youdao.translator',
|
||||
name: '有道翻译官',
|
||||
groups: [
|
||||
{
|
||||
key: 1,
|
||||
name: '翻译界面-结果下方广告',
|
||||
desc: '点击广告卡片右上角x',
|
||||
quickFind: true,
|
||||
activityIds: ['com.youdao.translator.activity.trans.TransResultActivity'],
|
||||
rules: [
|
||||
{
|
||||
matches:
|
||||
'@ImageView[id=`com.youdao.translator:id/close_iv`] + [id="com.youdao.translator:id/native_ad_flag_tv"]',
|
||||
snapshotUrls: 'https://i.gkd.li/import/13259910',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
Loading…
Reference in New Issue
Block a user