Кодvar observer = new MutationObserver(function(e) {
if (document.location.href.indexOf("animes") < 1) return !1;
e.length > 5 && Run()
});
function Run() {
var e = detectIE();
e && e < 11 && (alert("Oh nooo -_- Для использования расширения, пожалуйста установите браузер!"), document.location.href = "https://www.srware.net/iron/");
var n = document.querySelectorAll(".b-anime_status_tag")[0];
if (!n.classList.contains("ongoing") && !n.classList.contains("released")) return !1;
if ("complete" != document.readyState) window.setTimeout(Run, 100);
else var t = setInterval(function() {
if (document.body.classList.contains("p-animes-show") && 0 == document.querySelectorAll(".c-info-right .watch-online-placeholer>div").length) {
var e = document.location.href.split("/")[4].split("-")[0];
document.querySelectorAll(".c-info-right .watch-online-placeholer")[0].innerHTML += '<div class="block"><a style="border: 1px solid #4c86c8; background-color: #daf1ff; color: #4c86c8;" class="b-link_button dark watch_link watch-online" href="https://beta.shikimorilive.top/online/' + e + '/1">Смотреть онлайн</a></div>', document.querySelectorAll(".c-info-right .watch-online-placeholer>div")[0].style.margin.bottom = "5px"
} else clearInterval(t)
}, 1e3)
}
function detectIE() {
var e = window.navigator.userAgent,
n = e.indexOf("MSIE ");
if (n > 0) return parseInt(e.substring(n + 5, e.indexOf(".", n)), 10);
if (e.indexOf("Trident/") > 0) {
var t = e.indexOf("rv:");
return parseInt(e.substring(t + 3, e.indexOf(".", t)), 10)
}
var r = e.indexOf("Edge/");
return r > 0 && parseInt(e.substring(r + 5, e.indexOf(".", r)), 10)
}
observer.observe(document, {
attributes: !1,
childList: !0,
characterData: !1,
subtree: !0
}),
function() {
if (document.location.href.indexOf("animes") < 1) return !1;
Run()
}();