mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 01:04:53 +08:00
feat(今日头条): 信息流广告(优化规则) (#3577)
This commit is contained in:
@@ -131,16 +131,15 @@ export default defineAppConfig({
|
|||||||
key: 12,
|
key: 12,
|
||||||
name: '信息流广告',
|
name: '信息流广告',
|
||||||
desc: '点击右上角x按钮,点击不感兴趣',
|
desc: '点击右上角x按钮,点击不感兴趣',
|
||||||
activityIds: [
|
|
||||||
'com.bytedance.ugc.innerfeed.impl.PostInnerFeedActivity',
|
|
||||||
'com.ss.android.article.news.activity.MainActivity',
|
|
||||||
],
|
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
name: '点击右上角x按钮',
|
name: '点击右上角x按钮',
|
||||||
key: 0,
|
key: 0,
|
||||||
matches:
|
activityIds: [
|
||||||
'[text^="广告"|| text$="广告" ||text^="来自"] <n FrameLayout > UIView[text^="不感兴趣"]',
|
'com.ss.android.article.news.activity.MainActivity',
|
||||||
|
'com.bytedance.ugc.innerfeed.impl.PostInnerFeedActivity',
|
||||||
|
],
|
||||||
|
matches: 'UIView[text^="不感兴趣"][visibleToUser=true]',
|
||||||
action: 'clickCenter',
|
action: 'clickCenter',
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
'https://i.gkd.li/import/12733098',
|
'https://i.gkd.li/import/12733098',
|
||||||
@@ -148,6 +147,7 @@ export default defineAppConfig({
|
|||||||
'https://i.gkd.li/import/12836272',
|
'https://i.gkd.li/import/12836272',
|
||||||
'https://i.gkd.li/import/12840162',
|
'https://i.gkd.li/import/12840162',
|
||||||
'https://i.gkd.li/import/13093576',
|
'https://i.gkd.li/import/13093576',
|
||||||
|
'https://i.gkd.li/import/12733098',
|
||||||
],
|
],
|
||||||
exampleUrls: [
|
exampleUrls: [
|
||||||
'https://user-images.githubusercontent.com/44717382/273436460-cf007525-81ce-418b-ac05-3bfd75a627fe.gif', //这是 https://i.gkd.li/import/12840162
|
'https://user-images.githubusercontent.com/44717382/273436460-cf007525-81ce-418b-ac05-3bfd75a627fe.gif', //这是 https://i.gkd.li/import/12840162
|
||||||
@@ -156,6 +156,11 @@ export default defineAppConfig({
|
|||||||
{
|
{
|
||||||
name: '点击不感兴趣',
|
name: '点击不感兴趣',
|
||||||
preKeys: 0,
|
preKeys: 0,
|
||||||
|
key: 1,
|
||||||
|
activityIds: [
|
||||||
|
'com.ss.android.article.news.activity.MainActivity',
|
||||||
|
'com.bytedance.ugc.innerfeed.impl.PostInnerFeedActivity',
|
||||||
|
],
|
||||||
matches:
|
matches:
|
||||||
'@ViewGroup[clickable=true] > ImageView + TextView[text="不感兴趣"]',
|
'@ViewGroup[clickable=true] > ImageView + TextView[text="不感兴趣"]',
|
||||||
action: 'clickCenter',
|
action: 'clickCenter',
|
||||||
|
|||||||
Reference in New Issue
Block a user