feat(有道翻译官): 搜索结果下方广告 (#1869)

* 添加 有道翻译官 结果下方广告规则

* feat(有道翻译官): 翻译界面-结果下方广告

---------

Co-authored-by: lisonge <i@songe.li>
This commit is contained in:
xhemj 2023-11-05 23:24:22 +08:00 committed by GitHub
parent 9b24d461b1
commit aecbcddc6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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',
},
],
},
],
});