mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 16:54:43 +08:00
perf: some rules
This commit is contained in:
@@ -21,11 +21,6 @@ export default defineGkdApp({
|
|||||||
'https://m.gkd.li/57941037/fe2a046b-1abe-4aba-a0df-8d9568211e0d',
|
'https://m.gkd.li/57941037/fe2a046b-1abe-4aba-a0df-8d9568211e0d',
|
||||||
snapshotUrls: 'https://i.gkd.li/i/14189313',
|
snapshotUrls: 'https://i.gkd.li/i/14189313',
|
||||||
},
|
},
|
||||||
{
|
|
||||||
key: 1,
|
|
||||||
matches:
|
|
||||||
'[childCount=0][visibleToUser=true][(text.length<10&&(text*="跳过"||text*="跳过"||text*="skip"||text*="Skip")) || id$="tt_splash_skip_btn" || vid*="skip" || vid*="Skip" || (vid*="count" && vid*="down" && vid!*="download") || desc*="跳过" || desc*="skip"]',
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -20,11 +20,6 @@ export default defineGkdApp({
|
|||||||
'https://m.gkd.li/57941037/67cfc2f8-a108-4382-976a-0da7d13764e9',
|
'https://m.gkd.li/57941037/67cfc2f8-a108-4382-976a-0da7d13764e9',
|
||||||
snapshotUrls: 'https://i.gkd.li/i/14179162',
|
snapshotUrls: 'https://i.gkd.li/i/14179162',
|
||||||
},
|
},
|
||||||
{
|
|
||||||
key: 1,
|
|
||||||
matches:
|
|
||||||
'[childCount=0][visibleToUser=true][(text.length<10&&(text*="跳过"||text*="跳过"||text*="skip"||text*="Skip")) || id$="tt_splash_skip_btn" || vid*="skip" || vid*="Skip" || (vid*="count" && vid*="down" && vid!*="download") || desc*="跳过" || desc*="skip"]',
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ export default defineGkdApp({
|
|||||||
{
|
{
|
||||||
key: 0,
|
key: 0,
|
||||||
name: '开屏广告',
|
name: '开屏广告',
|
||||||
|
fastQuery: true,
|
||||||
matchTime: 10000,
|
matchTime: 10000,
|
||||||
actionMaximum: 1,
|
actionMaximum: 1,
|
||||||
resetMatch: 'app',
|
resetMatch: 'app',
|
||||||
@@ -14,7 +15,6 @@ export default defineGkdApp({
|
|||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
key: 0,
|
key: 0,
|
||||||
fastQuery: true,
|
|
||||||
matches:
|
matches:
|
||||||
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][visibleToUser=true] + TextView[text=null] <<n [id="android:id/content"]',
|
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][visibleToUser=true] + TextView[text=null] <<n [id="android:id/content"]',
|
||||||
exampleUrls:
|
exampleUrls:
|
||||||
@@ -23,12 +23,12 @@ export default defineGkdApp({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 1,
|
key: 1,
|
||||||
matches:
|
matches: '[vid="mJumpBtn"][visibleToUser=true]',
|
||||||
'[childCount=0][visibleToUser=true][(text.length<10&&(text*="跳过"||text*="跳过"||text*="skip"||text*="Skip")) || id$="tt_splash_skip_btn" || vid*="skip" || vid*="Skip" || (vid*="count" && vid*="down" && vid!*="download") || desc*="跳过" || desc*="skip"]',
|
exampleUrls: 'https://e.gkd.li/28a83ffc-ba28-4d0e-8f28-b48a4a542f23',
|
||||||
|
snapshotUrls: 'https://i.gkd.li/i/16486457',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 2,
|
key: 2,
|
||||||
fastQuery: true,
|
|
||||||
position: {
|
position: {
|
||||||
left: 'width * 0.9007',
|
left: 'width * 0.9007',
|
||||||
top: 'width * 0.1603',
|
top: 'width * 0.1603',
|
||||||
@@ -56,18 +56,13 @@ export default defineGkdApp({
|
|||||||
{
|
{
|
||||||
key: 2,
|
key: 2,
|
||||||
name: '全屏广告-首页弹窗广告',
|
name: '全屏广告-首页弹窗广告',
|
||||||
activityIds: [
|
|
||||||
'com.jingdong.app.reader.main.ui.JdMainActivity',
|
|
||||||
'com.miui.home.launcher.Launcher',
|
|
||||||
],
|
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
matches:
|
fastQuery: true,
|
||||||
'[id="com.jd.app.reader:id/mCardView"] + [id="com.jd.app.reader:id/mCloseBtn"]',
|
activityIds: 'com.jingdong.app.reader.main.ui.JdMainActivity',
|
||||||
snapshotUrls: [
|
matches: '[vid="mCloseBtn"][visibleToUser=true]',
|
||||||
'https://i.gkd.li/i/12686577',
|
exampleUrls: 'https://e.gkd.li/ac85ef54-5180-4740-b12d-608b37ad5502',
|
||||||
'https://i.gkd.li/i/12686664', // activityId: 'com.miui.home.launcher.Launcher'
|
snapshotUrls: 'https://i.gkd.li/i/16486458',
|
||||||
],
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -24,8 +24,12 @@ export default defineGkdApp({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 1,
|
key: 1,
|
||||||
matches:
|
matches: '[text*="跳过"][text.length<10][visibleToUser=true]',
|
||||||
'[childCount=0][visibleToUser=true][(text.length<10&&(text*="跳过"||text*="跳過"||text*="skip"||text*="Skip")) || id$="tt_splash_skip_btn" || vid*="skip" || vid*="Skip" || (vid*="count" && vid*="down" && vid!*="download") || desc*="跳过" || desc*="skip"]',
|
exampleUrls: 'https://e.gkd.li/f96cc8d8-602e-4d96-a8f3-19088656121b',
|
||||||
|
snapshotUrls: [
|
||||||
|
'https://i.gkd.li/i/16486468',
|
||||||
|
'https://i.gkd.li/i/16486469',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -7,29 +7,24 @@ export default defineGkdApp({
|
|||||||
{
|
{
|
||||||
key: 0,
|
key: 0,
|
||||||
name: '开屏广告',
|
name: '开屏广告',
|
||||||
resetMatch: 'app',
|
fastQuery: true,
|
||||||
actionMaximum: 1,
|
|
||||||
matchTime: 10000,
|
matchTime: 10000,
|
||||||
|
actionMaximum: 1,
|
||||||
|
resetMatch: 'app',
|
||||||
actionMaximumKey: 0,
|
actionMaximumKey: 0,
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
key: 0,
|
key: 0,
|
||||||
fastQuery: true,
|
matches: '[text*="跳过"][text.length<10][visibleToUser=true]',
|
||||||
matches: '[text*="跳过"][text.length<=10]',
|
exampleUrls: 'https://e.gkd.li/10fa1ebe-c208-4127-a456-48ac91901984',
|
||||||
snapshotUrls: 'https://i.gkd.li/i/13987038',
|
snapshotUrls: 'https://i.gkd.li/i/16486491',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 1,
|
key: 1,
|
||||||
fastQuery: true,
|
|
||||||
matches:
|
matches:
|
||||||
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][visibleToUser=true] + TextView[text=null] <<n [id="android:id/content"]', // 字节开屏通用规则
|
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][visibleToUser=true] + TextView[text=null] <<n [id="android:id/content"]',
|
||||||
snapshotUrls: 'https://i.gkd.li/i/13978978',
|
snapshotUrls: 'https://i.gkd.li/i/13978978',
|
||||||
},
|
},
|
||||||
{
|
|
||||||
key: 2,
|
|
||||||
matches:
|
|
||||||
'[childCount=0][visibleToUser=true][(text.length<10&&(text*="跳过"||text*="跳過"||text*="skip"||text*="Skip")) || id$="tt_splash_skip_btn" || vid*="skip" || vid*="Skip" || (vid*="count" && vid*="down" && vid!*="download") || desc*="跳过" || desc*="skip"]',
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user