NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name R E K K A P L Z // @version 0.4 // @description meh meh meh // @author h1royuki // @license MIT // @match https://smotret-anime.ru/* // @require https://gist.github.com/raw/2625891/waitForKeyElements.js // @updateURL https://openuserjs.org/meta/inpr1se/rikka_plz.meta.js // ==/UserScript== waitForKeyElements("div.m-translation-view__share", site_ad); waitForKeyElements("#MT_overroll, div.seed-player-container, #aft-mt", player_ad); function site_ad() { if ($("div.col.s12.m4.l3.col-even > div.card:nth-child(4) > .b-box-fix").length) { $("div.col.s12.m4.l3.col-even > div.card:nth-child(4)").remove(); console.log('Remove 2/ child 4'); } else { $("div.col.s12.m4.l3.col-even > div.card:nth-child(3)").remove(); console.log('Remove 2/ child 3'); } $("div.col.s12.m8.l9.col-even > .card:nth-child(1), div.card.m-translation-player.z-depth-1 > div.card-content, div.col.s12.m4.l3.col-even > .card:nth-child(2), div.b-box-fix").remove(); } function player_ad() { $("div.seed-player-container").remove(); $("#MT_overroll").remove(); $("#aft-mt").remove(); };