-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathadblock.txt
284 lines (253 loc) · 15.4 KB
/
adblock.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
!
! Version: 3.19
! Title: Расширенный фильтр для ВКонтакте
! Homepage: https://vtosters.app
! Last modified: 13 October 2024 18:46
! Description: Фильтр рекламы и слежки на vk.com/vk.ru. Фильтр рассчитан и для m.vk.com/m.vk.ru
! Expires: 24 hours (update frequency)
! Issues: https://github.com/vtosters/adblock/issues
! Syntax: uBlock Origin
!
! Блокировка баннеров слева и частично в ленте
vk.*##.ads300-thumb
vk.*##.ads600x200
vk.*##.ads_600x200
vk.*##.adsbyyottos
vk.*##.trg-b-banner-block
vk.*###ads_left
vk.*###ads_left
vk.*##.audio_subscribe_promo__content
vk.*###apps_ads_wrap
vk.*###ads_special_promo_wrap
vk.*###apps_ads_wrap
vk.*##._ads_promoted_post_data_w
vk.*##.ads_ads_news_wrap
vk.*##div#left_ads
vk.*##.ads_ads_box
vk.*##.ads_ads_news_wrap
~vk.*##div[id^="vk_ads_"]
vk.*#$##ads_left { position: absolute; top: -2500px; }
! Инициализация отключения рекламы в скрипты вк
vk.*#%#//scriptlet("set-constant", "noAds", "true")
vk.*#%#//scriptlet("set-constant", "noAdsAtAll", "true")
vk.*#%#//scriptlet("set-constant", "no_left_ads", "true")
vk.*#%#//scriptlet("set-constant", "no_ads", "true")
vk.*#%#//scriptlet("set-constant", "isNoAdsForce", "true")
vk.*#%#//scriptlet("set-constant", "hide_ad", "true")
vk.*#%#//scriptlet("set-constant", "ya_direct", "false")
vk.*#%#//scriptlet("set-constant", "yaDirectAdActive", "false")
! Общая реклама и метрика
||ad.mail.ru^$domain=vk.com|vk.ru|m.vk.com|m.vk.ru
||ad.mail.ru/static/admanhtml/rbadman-html5.min.js^$domain=vk.com|vk.ru|m.vk.com|m.vk.ru
||vk.*/al_video.php?act=ads_stat^$domain=important
||vk.*/js/cmodules/web/ads_light.$script
||vk.*/css/al/ads_light.$script
||vk.*/dist/web/ads_light.$script
||vk.*/dist/web/performance_observers.$script
||vk.*/dist/web/jobs_devtools_notification.$script
||ad.mail.ru/vp/*&duration=domain=vk.com|vk.ru|m.vk.com|m.vk.ru
||stats.vk-portal.net^$domain=vk.com|vk.ru|m.vk.com|m.vk.ru
||*.ms.vk.*^$domain=vk.com|vk.ru|m.vk.com|m.vk.ru
||tns-counter.ru^$domain=vk.com|vk.ru|m.vk.com|m.vk.ru
||mail.ru/k?$domain=vk.com|vk.ru|m.vk.com|m.vk.ru
||top-fwz1.mail.ru^$domain=vk.com|vk.ru|m.vk.com|m.vk.ru
||mc.yandex.ru^$domain=vk.com|vk.ru|m.vk.com|m.vk.ru
||an.yandex.ru^$domain=vk.com|vk.ru|m.vk.com|m.vk.ru
||scorecardresearch.com^$domain=vk.com|vk.ru|m.vk.com|m.vk.ru
||vk.*/ads_rotate^$domain=important
||https://vk.*/rtrg?$domain=vk.com|vk.ru|m.vk.com|m.vk.ru
||vk.*/al_video.php?act=ads_stat
! Блокировка баннеров слева и частично в ленте
vk.*###ads_left
vk.*##.audio_subscribe_promo__content
vk.*###apps_ads_wrap
vk.*###ads_special_promo_wrap
vk.*###apps_ads_wrap
vk.*##._ads_promoted_post_data_w
vk.*##.ads_ads_news_wrap
vk.*##div#left_ads
vk.*##.ads_ads_box
vk.*##.ads_ads_news_wrap
~vk.*##div[id^="vk_ads_"]
vk.*#$##ads_left { position: absolute; top: -2500px; }
! Рекламные баннеры в ленте
||vk.*/al_feed.php?ads_section^
! Костыли
@@://vk.*/ads$document,~third-party
@@://vk.*/exchange$document
@@||oauth.vk.ru$document
@@||login.vk.*/?act=openapi$domain=220vk.ru
@@||vk.*/vkpay
@@||oauth.vk.*/authorize?
@@api_url=http://api.vk.*/api.php
@@api_url=https://api.vk.*/api.php
! Отправка логов и ошибок
||vk.*/errors.php^
||vk.*/upload_fails.php^
vk.*###system_msg
! Реклама групп с пометкой рекламы
vk.*#?##page_wall_posts > div[id^="post-"]:-abp-has(.wall_marked_as_ads)
vk.*###feed_rows > div[class="feed_row "] > div[class^="feed_repost-"][-ext-has='div[class="wall_marked_as_ads"]']
vk.*###page_wall_posts > div[id^="post-"][-ext-has='> div._post_content > div.post_content > div.post_info > div.wall_text > div.wall_post_cont > div.wall_marked_as_ads']
vk.*###page_wall_posts > div[id^="post-"][-ext-has='div._post_content > div.post_content > div.post_info > div.wall_text > div.wall_marked_as_ads']
vk.*##.wall_wrap div[id^="post-"][-ext-has='div.post_content > div.post_info > div.wall_text > div.wall_post_cont > div.wall_marked_as_ads']
vk.*###feed_rows > div[class="feed_row "] > div[class^="feed_repost-"]:has(div[class="wall_marked_as_ads"])
vk.*##div[class^="feed_row "] > div[id^="feed_repost-"]:has(.wall_marked_as_ads)
vk.*##.wall_marked_as_ads
vk.*###page_wall_posts > div.post_marked_as_ads
vk.*###page_wall_posts > div.post[data-ad-block-uid]
vk.*#?##page_wall_posts > div[id^="post-"]:-abp-has(.ui_actions_menu_item[href*="ad_info.php"])
vk.*#?##page_wall_posts > div[id^="post-"]:-abp-has(.ui_actions_menu_item[data-task-click="AdsLight/copy_marker_id"])
vk.*#?##feed_rows > div[class="feed_row "]:has(.ui_actions_menu_item[href*="ad_info.php"])
vk.*#?##feed_rows > div[class="feed_row "]:has(.ui_actions_menu_item[data-task-click="AdsLight/copy_marker_id"])
vk.*#?##feed_rows > div[id^="feed_row "]:-abp-has(.ui_actions_menu_item[data-task-click="AdsLight/copy_marker_id"])
vk.*###page_wall_posts > div[id^="post-"]:has(a[onclick*="ads_params"][onclick*="post_ad_data"])
vk.*#?##feed_rows > div[class="feed_row "]:has(a[onclick*="ads_params"][onclick*="post_ad_data"])
vk.*###page_wall_posts > div[id^="post-"]:has(a[onclick*="adsite_"])
vk.*#?##feed_rows > div[class="feed_row "]:has(a[onclick*="adsite_"])
vk.*###page_wall_posts > div[id^="post-"]:has(a[data-mt-video-hls*="mradx.net"])
vk.*#?##feed_rows > div[class="feed_row "]:has(a[data-mt-video-hls*="mradx.net"])
vk.*###page_wall_posts > div[id^="post-"]:has(img[src^="https://r0.mradx.net"])
vk.*#?##feed_rows > div[class="feed_row "]:has(img[src^="https://r0.mradx.net"])
vk.*###page_wall_posts > div[id^="post-"].post_marked_as_ads
vk.*#?##feed_rows > div[class="feed_row "].post_marked_as_ads
! Реклама интересных авторов
vk.*#?##page_wall_posts > div[id^="post-"]:-abp-has(.wall_authors_rec)
vk.*###feed_rows > div[class="feed_row "] > div[class^="feed_repost-"][-ext-has='div[class="wall_authors_rec"]']
vk.*###page_wall_posts > div[id^="post-"][-ext-has='> div._post_content > div.post_content > div.post_info > div.wall_text > div.wall_post_cont > div.wall_authors_rec']
vk.*###page_wall_posts > div[id^="post-"][-ext-has='div._post_content > div.post_content > div.post_info > div.wall_text > div.wall_authors_rec']
vk.*##.wall_wrap div[id^="post-"][-ext-has='div.post_content > div.post_info > div.wall_text > div.wall_post_cont > div.wall_authors_rec']
vk.*###feed_rows > div[class="feed_row "] > div[class^="feed_repost-"]:has(div[class="wall_authors_rec"])
vk.*##div[class^="feed_row "] > div[id^="feed_repost-"]:has(.wall_authors_rec)
vk.*##.wall_authors_rec
! Рекомендации лайв трансляций в ленте
vk.*#?##page_wall_posts > div[id^="post-"]:-abp-has(.wall_live_recommended)
vk.*###feed_rows > div[class="feed_row "] > div[class^="feed_repost-"][-ext-has='div[class="wall_live_recommended"]']
vk.*###page_wall_posts > div[id^="post-"][-ext-has='> div._post_content > div.post_content > div.post_info > div.wall_text > div.wall_post_cont > div.wall_live_recommended']
vk.*###page_wall_posts > div[id^="post-"][-ext-has='div._post_content > div.post_content > div.post_info > div.wall_text > div.wall_live_recommended']
vk.*##.wall_wrap div[id^="post-"][-ext-has='div.post_content > div.post_info > div.wall_text > div.wall_post_cont > div.wall_live_recommended']
vk.*###feed_rows > div[class="feed_row "] > div[class^="feed_repost-"]:has(div[class="wall_live_recommended"])
vk.*##div[class^="feed_row "] > div[id^="feed_repost-"]:has(.wall_live_recommended)
vk.*##.wall_live_recommended
! Клипы в ленте
vk.*#?##page_wall_posts > div[id^="post-"]:-abp-has(.ShortVideoFeedBlock)
vk.*###feed_rows > div[class="feed_row "] > div[class^="feed_repost-"][-ext-has='div[class="ShortVideoFeedBlock"]']
vk.*###page_wall_posts > div[id^="post-"][-ext-has='> div._post_content > div.post_content > div.post_info > div.wall_text > div.wall_post_cont > div.ShortVideoFeedBlock']
vk.*###page_wall_posts > div[id^="post-"][-ext-has='div._post_content > div.post_content > div.post_info > div.wall_text > div.ShortVideoFeedBlock']
vk.*##.wall_wrap div[id^="post-"][-ext-has='div.post_content > div.post_info > div.wall_text > div.wall_post_cont > div.ShortVideoFeedBlock']
vk.*###feed_rows > div[class="feed_row "] > div[class^="feed_repost-"]:has(div[class="ShortVideoFeedBlock"])
vk.*##div[class^="feed_row "] > div[id^="feed_repost-"]:has(.ShortVideoFeedBlock)
vk.*##.ShortVideoFeedBlock
vk.*###page_block.ShortVideoFeedBlock
! Баннеры с приложениями вк в ленте
vk.*##.apps_feedRightAppsBlock_new_apps.apps_feedRightAppsBlock.page_block
vk.*##.apps_feedRightAppsBlock_single_app.apps_feedRightAppsBlock.page_block
vk.*##.apps_feedRightAppsBlock_collaborative_recommend_apps.apps_feedRightAppsBlock.page_block
vk.*##.apps_feedRightAppsBlock__row
vk.*##.apps_feedRightAppsBlock
vk.*##.apps_feedRightAppsBlock_new_apps
vk.*##.NewMiniAppsRightBlock__root
vk.*##.RecommendedNarrativesBlock
vk.*##.RecommendedNarrativesBlockBase
m.vk.*##.feedAssistancePromoButtonInstallApp
vk.*###feed_mini_apps_recomm
vk.*##.MarketItemsPortlet
vk.*###achievement_game
! Рекомендации групп и друзей в ленте
vk.*###groups_filters_wrap > .page_block
vk.*###groups_filters_wrap
vk.*###feed_recommends
vk.*##.feed_groups_recomm
vk.*##.feed_friends_recomm
vk.*###profile_friends_recomm
vk.*###friends_right_blocks_root
vk.*###group_recom_wrap
vk.*##.GroupsRecommendationsBlock
vk.*##.FriendsSuggestionsBlock
vk.*###friends_possible_block
vk.*###feed_friends_recomm:not(.similar_groups_block)
vk.*###block_aliexpress-recommendations-carousel
vk.*###recommended_narratives
vk.*###feed_right_blocks_root
vk.*###groups_list_right_blocks_root
! Универсальные правила для блокировки рекламных баннеров для блокировки будущих рекламных баннеров
vk.*##[class^="ads_ad_"]
vk.*##[class^="ads"]
vk.*##.ads_ads_news_wrap
vk.*##._ads_promoted_post_data_w
vk.*##div#left_ads
vk.*##div[data-ad-view]
vk.*##div[data-ad]
vk.*##div[ads_left]
vk.*##.post[data-ad]
vk.*##.post[data-ad-view]
vk.*##div[id^="postadsite_"]
vk.*###_ads_block_data_w
vk.*###mailru-visibility-check
! Баннер VK Pay в настройках
vk.*###settings_ps_promo_big_banner_container
vk.*##.settings_vkpay_promo_banner_link_a
vk.*###settings_vkpay_promo_big_banner_container
! Промо реклама музыки
||vk.*/al_audio.php?act=need_show_promo^
vk.*##.CatalogBlock__subscription, .CatalogSection__rightColumn > .CatalogSection__stickyColumn .CatalogBlock__separator
vk.*##div#content > div._audio_page_layout.audio_page_layout.audio_page_layout2 > div._audio_page_content_block_wrap.audio_page_content_block_wrap > div.page_block._audio_page_content_block > div.audio_page_sections._audio_page_sections.clear_fix > div.audio_section.audio_w_covers._audio_section._audio_section__all.audio_section__all > div.audio_page_section_layout._audio_page_section_layout.has_friends_block > div.audio_page_all_layout_columns.clear_fix > div.audio_friends_list_wrap._audio_friends_list_wrap > div.audio_friends_list_content._audio_friends_list_content > div.audio_subscribe_promo
vk.*##.audio_promo
vk.*###content > div._audio_page_layout.audio_page_layout.audio_page_layout2 > div._audio_page_content_block_wrap.audio_page_content_block_wrap:nth-child(3) > div.audio_page_sections._audio_page_sections.clear_fix:last-child > div.audio_section._audio_section._audio_section__all.audio_section__all.clear_fix.audio_w_covers:last-child > div.CatalogSection.CatalogSection--divided.CatalogSection__my > div.CatalogBlock.CatalogBlock--divided:last-child > div.CatalogSection__columns > div.CatalogSection__rightColumn:last-child > div.CatalogSection__stickyColumn > div.CatalogBlock:last-child
! Промо сторис
vk.*##.stories_feed_preview_item.story_feed_new_item.story_feed_new_item_promo
! Popup с просьбой включить нотифаи для браузера
vk.*##div#box_layer > div.popup_box_container.PushNotifierPopup__popup-box_type--suggest
! Бесполезный диалог на странице
vk.*##.profile_rate_warning
! Скрытие рекомендаций для написания поста
vk.*##.post_suggest._post_suggest
! Баннер с просьбой юзать мобильный вк в клипах
vk.*##.ShortVideoStub
vk.*###feed_blog_reminder
! Новая реклама в ленте
vk.*#?##page_wall_posts > div[id^="post-"]:-abp-has(.wall_text_name_explain_promoted_post)
vk.*###feed_rows > div[class="feed_row "] > div[class^="feed_repost-"][-ext-has='div[class="wall_text_name_explain_promoted_post"]']
vk.*#?##page_wall_posts > div[id^="post-"]:-abp-has(.MarketItemsFeedBlock)
vk.*###feed_rows > div[class="feed_row "] > div[class^="feed_repost-"][-ext-has='div[class="MarketItemsFeedBlock"]']
vk.*#?##page_wall_posts > div[id^="post-"]:-abp-has(.block_aliexpress-recommendations-carousel)
vk.*###feed_rows > div[class="feed_row "] > div[class^="feed_repost-"][-ext-has='div[class="block_aliexpress-recommendations-carousel"]']
! Фикс удаления стилей адг
vk.*#%#//scriptlet('set-constant', 'window.Unauthorized2', 'undefined')
vk.*#%#//scriptlet('set-constant', 'window.PageBottomBanners.initUnauthBanner', 'noopFunc')
! Удаление актуальных новостей в РФ
vk.*##aside[aria-label="Актуальные новости"]
! Кукис варн
vk.*###cookies_policy_wrap
! Ошибка старого браузера
vk.*##.OldBrowser
! Рекомендательные технологии
vk.*##.LegalRecommendationsLinkLeftMenuAuthorized
vk.*##.WideSeparator--legalRecommendationsLink
! Новые рекомендации видео
vk.*#?##page_wall_posts > div[id^="post-"]:-abp-has(.FeedVideosForYou)
vk.*###feed_rows > div[class="feed_row "] > div[class^="feed_repost-"][-ext-has='div[class="FeedVideosForYou"]']
vk.*###page_wall_posts > div[id^="post-"][-ext-has='> div._post_content > div.post_content > div.post_info > div.wall_text > div.wall_post_cont > div.FeedVideosForYou']
vk.*###page_wall_posts > div[id^="post-"][-ext-has='div._post_content > div.post_content > div.post_info > div.wall_text > div.FeedVideosForYou']
vk.*##.wall_wrap div[id^="post-"][-ext-has='div.post_content > div.post_info > div.wall_text > div.wall_post_cont > div.FeedVideosForYou']
vk.*###feed_rows > div[class="feed_row "] > div[class^="feed_repost-"]:has(div[class="FeedVideosForYou"])
vk.*##div[class^="feed_row "] > div[id^="feed_repost-"]:has(.FeedVideosForYou)
vk.*##.FeedVideosForYou
vk.*###page_block.FeedVideosForYou
! Плашка донута под постами
vk.*##.ReplyBoxDonut
! m.vk поддержка
m.vk.*#?#.wall_item:has(> div.wi_body > div.ads_mark)
m.vk.*##.wall_item[data-ad-view]
m.vk.*##[class^="_ads_block_data_w"]
m.vk.*##.wall_item.feedAssistance.GroupsRecommendedSlider
m.vk.*##.wall_item.feedAssistance.friendsRecommendedSliderWrap
m.vk.*##.wall_item.post_exploreBait
m.vk.*##.wall_item.post_withExtraHeader
m.vk.*##.vkuiModalRoot, .vkuiModalRoot--desktop
m.vk.*##.vkuiPopoutRoot__modal
! Навязывание проверки номера
vk.*###react_rootCheckValidationPhone
vk.*##body:style(position:static!important)
! Монетизация в группах
vk.*##.group_settings_advice