innocoffee / Antitrack YANDEX

// ==UserScript==
// @name         Antitrack YANDEX
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Replaces all clck links to normal, blurres your username and pic, colores all in cute pink, replaces font, removes shit, and resizes useful areas. Made with <3 by innocoffee
// @author       t.me/innocoffee
// @grant        none
// @run-at       document-start
// @license      GPL-3.0-or-later; http://www.gnu.org/licenses/gpl-3.0.txt
// ==/UserScript==

function chistka_xuyni() {
  var elems = ['.competitors', '.serp-footer', '.related', '.related__above', '.popup2__content', '.yaplus', '.service_name_news', '.service_name_translate', '.service_name_ether', '.service_name_q', '.service_name_uslugi', '.service_name_music', '.service_name_all', '.service_name_market', '#search-result-aside', '.ticker', '.header-favorites-button', '.voice-search-button'];
  for (var j = 0; j < elems.length; j++) {
    if (document.querySelector(elems[j])) {
      var elements = document.querySelectorAll(elems[j]);
      for (var i = 0; i < elements.length; i++) {
        elements[i].remove();
      }
    }
  }
}

function antitrack() {
  if (document.querySelector('.link:not(.fixed)')) {
    var fix = document.querySelectorAll('.link:not(.fixed)');
    for (var i = 0; i < fix.length; i++) {
      fix[i].removeAttribute('data-counter');
    }
  }
}

setInterval(antitrack, 1000);
setInterval(chistka_xuyni, 1000);
antitrack();
chistka_xuyni();

document.head.innerHTML += '<style>.content__left {width: 70%!important;} .user-account {filter: blur(4px);} .serp-header__voice-search-container, .extended-text__short, .serp-header__logo, .notifier, .input__settings {display: none!important;} .extended-text__full {display: block!important;} .websearch-button__text::before {background-image: none!important;}</style>';
document.head.innerHTML += '<style> .serp-header .search2 {max-width:100%!important;} .search2_buttons-outside_2 {padding-right: 30px!important;}</style>';
document.head.innerHTML += '<style>@import url(\'https://fonts.googleapis.com/css2?family=Ubuntu&display=swap\'); * {font-family: Ubuntu!important; font-weight:100!important;letter-spacing:-.3px!important;}</style>';
document.head.innerHTML += '<style> .b-page__body, .navigation, .serp-header__wrapper {background: #fff0f5!important;} /*.serp-item, .navigation .navigation__item_state_selected .service__url, .user-account, .b-page__body {color: #f4f4f4!important;} .link_theme_outer {color: #018a01!important;} .link_theme_normal {color:#8181fd!important;} */</style>';