mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 08:44:55 +08:00
feat(有道翻译官): 搜索结果下方广告 (#1869)
* 添加 有道翻译官 结果下方广告规则 * feat(有道翻译官): 翻译界面-结果下方广告 --------- Co-authored-by: lisonge <i@songe.li>
This commit is contained in:
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',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user