Skip to content

Commit

Permalink
feat(TradingView): 全屏广告 (#640)
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepChirp authored Dec 22, 2024
1 parent b05e120 commit 8dc53f7
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/apps/com.tradingview.tradingviewapp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,25 @@ export default defineGkdApp({
rules: [
{
fastQuery: true,
activityIds: 'com.tradingview.tradingviewapp.root.view.RootActivity',
activityIds: '.root.view.RootActivity',
matches: '@[clickable=true][text="关闭广告"] <<n [vid="chart_wbv"]',
exampleUrls: 'https://e.gkd.li/3798ab1b-2cd3-471e-8303-b8124746e9d8',
snapshotUrls: 'https://i.gkd.li/i/16725697',
},
],
},
{
key: 2,
name: '全屏广告',
rules: [
{
fastQuery: true,
activityIds: '.root.view.RootActivity',
matches: '[vid="friday_fl_layout"] > [vid="friday_iv_close"]',
exampleUrls: 'https://e.gkd.li/9cc35e84-1b27-4aa5-a74b-ace7cf42d943',
snapshotUrls: 'https://i.gkd.li/i/18222211',
},
],
},
],
});

0 comments on commit 8dc53f7

Please sign in to comment.