mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 01:04:53 +08:00
feat(微博极速版): 开屏广告,信息流广告 (#413)
This commit is contained in:
36
src/apps/com.sina.weibolite.ts
Normal file
36
src/apps/com.sina.weibolite.ts
Normal file
@@ -0,0 +1,36 @@
|
||||
import { defineAppConfig } from '../types';
|
||||
|
||||
export default defineAppConfig({
|
||||
id: 'com.sina.weibolite',
|
||||
name: '微博极速版',
|
||||
groups: [
|
||||
{
|
||||
key: 0,
|
||||
name: '开屏广告',
|
||||
activityIds: 'com.weico.international.ui.ad.AdActivity',
|
||||
rules: 'LinearLayout > TextView[text="跳过"]',
|
||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12738090',
|
||||
},
|
||||
{
|
||||
key: 1,
|
||||
name: '信息流广告',
|
||||
desc: '点击广告卡片右上角x图标,点击[不感兴趣]',
|
||||
activityIds: 'com.weico.international.activity.MainFragmentActivity',
|
||||
rules: [
|
||||
{
|
||||
key: 0,
|
||||
name: '点击广告卡片右上角x图标',
|
||||
matches: '[id="com.sina.weibolite:id/item_timeline_ad_action"]',
|
||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12738110',
|
||||
},
|
||||
{
|
||||
preKeys: 0,
|
||||
name: '点击[不感兴趣]',
|
||||
matches:
|
||||
'@View[clickable=true][childCount=1] > TextView[text="不感兴趣"]',
|
||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12738132',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user