mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 01:04:53 +08:00
feat(华为天气): 开屏广告-规则优化 (#1701)
This commit is contained in:
@@ -7,15 +7,21 @@ export default defineAppConfig({
|
|||||||
{
|
{
|
||||||
key: 0,
|
key: 0,
|
||||||
name: '开屏广告',
|
name: '开屏广告',
|
||||||
quickFind: true,
|
|
||||||
matchTime: 10000,
|
matchTime: 10000,
|
||||||
actionMaximum: 1,
|
actionMaximum: 1,
|
||||||
resetMatch: 'app',
|
resetMatch: 'app',
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
matches: '[id="com.huawei.hms.ads.uiengine:id/hiad_skip_text"]',
|
quickFind: true,
|
||||||
|
matches: [
|
||||||
|
'[id="com.huawei.android.totemweather:id/rl_splash_container"]',
|
||||||
|
'[text.length<=4][text^="跳过"]', // 无法使用 quickFind
|
||||||
|
],
|
||||||
action: 'clickCenter', // 根据 https://github.com/gkd-kit/subscription/pull/1180#issuecomment-1767735683 反馈,此处使用 clickCenter 事件。
|
action: 'clickCenter', // 根据 https://github.com/gkd-kit/subscription/pull/1180#issuecomment-1767735683 反馈,此处使用 clickCenter 事件。
|
||||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12928975',
|
snapshotUrls: [
|
||||||
|
'https://gkd-kit.gitee.io/import/12928975',
|
||||||
|
'https://gkd-kit.gitee.io/import/13226636',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user