|
/* ==UserStyle== |
|
@name Yandex ADBlock |
|
@namespace TheAndrey |
|
@version 1.1.12 |
|
@license WTFPL |
|
@preprocessor default |
|
@updateURL https://gist.github.com/TheAndrey/11eacc8ea931f33e846ec8edeb4b247a/raw/yandex.user.css |
|
==/UserStyle== */ |
|
|
|
@-moz-document domain("yandex.ru"), domain("ya.ru"), domain("dzen.ru") { |
|
/* Твой софт - говно (c) */ |
|
.adv.adv_pos_popup.adv_type_direct, |
|
.popup2.distr-popup.popup2_visible_yes, |
|
.desk-notif-card.desk-notif-card_teaser_yes.desk-notif-card_expanded_yes.i-bem, |
|
.popup2.dist-overlay__popup.modal_theme_normal.modal_autoclosable_yes.i-bem.popup2_visible_yes, |
|
.dist-stripe.dist-stripe_js_inited, |
|
.BrowserUpdater { |
|
display: none !important; |
|
} |
|
|
|
/* Реклама в почте */ |
|
.mail-Layout-Main>.mail-Advanced-Search+div[class^='ns-view-'], |
|
.ns-view-mail-pro-left-column-button, |
|
.ns-view-mail-pro-left-column-button+div[class^='ns-view-'], |
|
.mail-DirectLineContainer, |
|
.mail-Layout-Aside-Inner .b-banner { |
|
display: none !important; |
|
} |
|
|
|
/* Залогинься! */ |
|
.zalogin-smart.i-zalogin-cookie_js_inited { |
|
display: none; |
|
} |
|
|
|
/* Музыка реклама */ |
|
.payment-popup-annoyer { |
|
display: none !important; |
|
} |
|
|
|
/* Делает метку "реклама" в результатах поиска яркой */ |
|
.label_theme_direct.organic__label, |
|
.organic__advLabel { |
|
background-color: #e74c3c !important; |
|
color: white; |
|
border-radius: 3px; |
|
padding-left: 5px; |
|
} |
|
|
|
.LabelDirect, |
|
.DirectLabel, |
|
.direct-label { |
|
border: 2px solid #e74c3c !important; |
|
filter: none !important; |
|
} |
|
|
|
/* Ненужная плашка в результатах поиска */ |
|
.Warning_type_roskomnadzor { |
|
display: none !important; |
|
} |
|
|
|
/* Рекомендации Маркета на главной */ |
|
.market-feed { |
|
display: none !important; |
|
} |
|
|
|
/* Реклама в подсказках поиска */ |
|
.mini-suggest__popup-container .mini-suggest__group_layout_separated { |
|
display: none !important; |
|
} |
|
|
|
/* Реклама Алисы */ |
|
.alice-fab__promo-shortcut, |
|
.AliceFabPromo { |
|
display: none !important; |
|
} |
|
|
|
/* Реклама */ |
|
.ads-block, |
|
.adfox-creative, |
|
.adFox, |
|
.ads-block_side, |
|
.AdvMedia, |
|
.AdvRsyaCrossPage, |
|
.AdvMastHead, |
|
.adv-manager__wrapper, |
|
.neo-advert, |
|
.banner-media, |
|
.b-banner.b-banner_js_inited, |
|
.direct-public, |
|
.direct-public__right-direct-wrapper, |
|
.DirectInline, |
|
.direct.root__bottom-ad, |
|
.MediaViewer div[id^='yandex_ad_stripe_'], |
|
.RelatedImagesDirect, |
|
.incut_type_direct, |
|
.weather-maps__ad_visible, |
|
.weather-maps__ad_visible_yes, |
|
.RsyaGuarantee-Frame, |
|
.RsyaGuarantee, |
|
.serp-item.RsyaOrganic, |
|
.sidebar-container .banner-view, |
|
.photos-player-view__footer-advert._active, |
|
.super-banner, |
|
.grid-chunk__adv-column, |
|
.grid-chunk__adv-wide, |
|
.teaser_hd.teaser_hd_visible, |
|
.sidebar-direct, |
|
#sidebar-direct, |
|
#adv-main, |
|
#adv-middle, |
|
#adv-bottom, |
|
#ImagesViewer-SidebarAdv, |
|
div[data-chunk='promo'], |
|
div[id^='R-I-'], |
|
div[data-zone-name='EntryPointPopup'], |
|
div[data-zone-name='HeadBanner'], |
|
div[data-zone-name='banner'], |
|
div[data-apiary-widget-id="/content/header/headerPromo"], div[id="/content/header/headerPromo"], |
|
.i-bem[class$='_inserted_yes'] .MastHead, |
|
#search-result-aside-baobab-guarantee + div, /* огромный анимированый баннер справа в поиске */ |
|
#rsya-guarantee { |
|
/* visually hidden trick */ |
|
position: absolute !important; |
|
margin: -1px !important; |
|
padding: 0 !important; |
|
overflow: hidden !important; |
|
border: 0 !important; |
|
clip: rect(0 0 0 0) !important; |
|
} |
|
} |
Благодарю