Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
feat(迅雷): 视频详情页广告(补充规则)、更新弹窗 (#1727)
Browse files Browse the repository at this point in the history
* feat 视频详情页广告(补充规则)

* feat 更新弹窗

* feat(迅雷): 规则优化

---------

Co-authored-by: lisonge <[email protected]>
  • Loading branch information
Snoopy1866 and lisonge authored Nov 2, 2023
1 parent 310ab52 commit 14580c5
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/apps/com.xunlei.downloadprovider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,20 @@ import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.xunlei.downloadprovider',
name: '迅雷',
deprecatedKeys: [11],
groups: [
{
key: 0,
name: '开屏广告',
quickFind: true,
activityIds: 'com.xunlei.downloadprovider.launch.LaunchActivity',
rules: 'TextView[text^="跳过"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12707693',
},
{
key: 1,
name: '视频详情页广告',
quickFind: true,
activityIds:
'com.xunlei.downloadprovider.download.taskdetails.newui.DownloadDetailsActivity',
rules: [
Expand All @@ -40,12 +43,19 @@ export default defineAppConfig({
matches: '[id="com.xunlei.downloadprovider:id/ad_ima_skip"]',
snapshotUrls: 'https://i.gkd.li/import/12882988',
},
{
key: 3,
matches:
'[id="com.xunlei.downloadprovider:id/play_detail_ad_title"] + [id="com.xunlei.downloadprovider:id/close_iv"]',
snapshotUrls: 'https://i.gkd.li/import/13228423',
},
],
},
{
key: 2,
name: '视频详情-直播推荐',
desc: '自动点击【减少推荐】',
quickFind: true,
rules: [
{
key: 0,
Expand Down Expand Up @@ -193,14 +203,24 @@ export default defineAppConfig({
{
key: 5,
name: '搜索页面-顶部banner广告',
quickFind: true,
activityIds:
'com.xunlei.downloadprovider.search.ui.search.SearchOperateActivity',
rules: '[id="com.xunlei.downloadprovider:id/search_banner_ad_close"]',
snapshotUrls: 'https://i.gkd.li/import/12882892',
},
{
key: 6,
name: '更新弹窗',
quickFind: true,
activityIds: 'com.xunlei.upgrade.XUpgradeActivity',
rules: '[id="com.xunlei.downloadprovider:id/x_upgrade_cancel"]',
snapshotUrls: 'https://i.gkd.li/import/13228920',
},
{
key: 10,
name: '会员续费广告',
quickFind: true,
rules: [
{
key: 0,
Expand Down

0 comments on commit 14580c5

Please sign in to comment.