@shadowtube/tizentube-noanimations 1.15.13 → 1.15.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- !function () { "use strict"; var e = true; var t = true; var r = true; var n = false; var i = null; var a = []; var o = null; function u(e) { if (!n) return; try { a.push(e); if (a.length > 6) a.shift(); var t = document.body || document.documentElement; if (!t) return; if (!i) { i = document.createElement("div"); i.style.cssText = "position:fixed;top:8px;left:8px;z-index:2147483647;" + "background:rgba(0,0,0,0.85);color:#0f0;font:20px/1.3 monospace;" + "padding:6px 10px;white-space:pre;pointer-events:none" } i.textContent = a.join("\n"); if (!i.parentNode) t.appendChild(i); clearTimeout(o); o = setTimeout(function () { if (i && i.parentNode) i.parentNode.removeChild(i) }, 8e3) } catch (e) { } } if (e) { try { !function () { "use strict"; if (!window.__ttArrowSeekInstalled) { window.__ttArrowSeekInstalled = !0; var e = {}, t = 10; document.addEventListener("keydown", n, !0), document.addEventListener("keyup", n, !0) } function r(e) { for (; e && e !== document;) { var t = window.getComputedStyle(e); if ("true" === e.getAttribute("aria-hidden") || e.classList && e.classList.contains("zylon-hidden") || "none" === t.display || "hidden" === t.visibility) return !0; e = e.parentNode } return !1 } function n(n) { if (function (e) { return "ArrowLeft" === e.key || "ArrowRight" === e.key || 37 === e.keyCode || 39 === e.keyCode }(n)) { var i = n.keyCode || n.which, a = 39 === i ? 1 : -1; if ("keyup" === n.type) { if (!e[i]) return; return n.preventDefault(), n.stopImmediatePropagation(), void delete e[i] } if (!(n.altKey || n.ctrlKey || n.metaKey || n.shiftKey || (o = n.target) && (o.isContentEditable || /^(INPUT|TEXTAREA|SELECT)$/.test(o.tagName || "")))) { var o, u = document.querySelector("video"); if (u && !u.paused && !u.ended) { if (!e[i]) { if (function (e) { if (!e || !e.closest) return !1; var t = e.closest("ytlr-tile-renderer"); return !(!t || r(t)) }(n.target)) return; if (function () { var e, t, n, i = ["ytlr-player-page", "ytlr-player-actions-container", "ytlr-progress-bar"]; for (e = 0; e < i.length; e++)if ((t = document.querySelector(i[e])) && !r(t) && "hidden" !== (n = window.getComputedStyle(t)).visibility && parseFloat(n.opacity) > 0 && t.getClientRects().length > 0) return !0; return !1 }()) return; e[i] = !0 } n.preventDefault(), n.stopImmediatePropagation(), function (e, r) { var n = e.currentTime + r * t, i = e.duration; n < 0 && (n = 0), isFinite(i) && n > i && (n = i), e.currentTime = n }(u, a) } } } } }() } catch (e) { } } function c() { var e = "ytaf-configuration"; var t = window.localStorage.getItem(e); var r = null; if (t) { try { r = JSON.parse(t) } catch (e) { return } if (!r || typeof r !== "object") return } else { r = {} } if (r.enableFixedUI === false) return; r.enableFixedUI = false; window.localStorage.setItem(e, JSON.stringify(r)); u("Fix UI: switched OFF (restart the app once)") } if (t) { try { c(); setTimeout(function () { try { c() } catch (e) { } }, 5e3) } catch (e) { } } function s() { var e = "app-quality-root"; var t = 0; var r = 0; var n = []; var i = false; var a = false; var o = null; function c() { a = false; if (i) return; var t = document.body; if (!t || t.classList.contains(e)) return; var c = Date.now(); n.push(c); while (n.length && c - n[0] > 5e3) n.shift(); if (n.length > 20) { i = true; if (o) o.disconnect(); u("guard: class keeps getting removed - observer stopped"); return } t.classList.add(e); r++; if (r === 1 || r % 10 === 0) u("guard: class restored x" + r) } function s() { if (!a && !i) { a = true; setTimeout(c, 0) } } function l() { var r = document.body; if (!r) return false; if (r.__ttQualityGuard) return true; r.__ttQualityGuard = true; var n = r.classList; var i = n.remove; var a = n.toggle; n.remove = function () { var r = []; for (var a = 0; a < arguments.length; a++) { if (arguments[a] !== e) r.push(arguments[a]) } if (r.length !== arguments.length) { t++; if (t === 1 || t % 10 === 0) u("guard: blocked remove() x" + t) } if (r.length) return i.apply(n, r) }; n.toggle = function (r, i) { if (r === e && (i === false || i === undefined && n.contains(e))) { t++; return true } return a.apply(n, arguments) }; if (o) o.disconnect(); if (typeof MutationObserver === "function") { o = new MutationObserver(function () { if (!r.classList.contains(e)) s() }); o.observe(r, { attributes: true, attributeFilter: ["class"] }) } if (!n.contains(e)) n.add(e); u("guard: installed"); return true } if (!l()) { var f = setInterval(function () { try { if (l()) clearInterval(f) } catch (e) { clearInterval(f) } }, 100) } setInterval(function () { try { if (!document.body) return; if (!document.body.__ttQualityGuard) l(); else s() } catch (e) { } }, 2e3) } if (r) { try { s() } catch (e) { u("guard: FAILED") } } }();
1
+ !function () { "use strict"; var e = true; var t = true; var r = false; var n = null; var i = []; var a = null; function o(e) { if (!r) return; try { i.push(e); if (i.length > 6) i.shift(); var t = document.body || document.documentElement; if (!t) return; if (!n) { n = document.createElement("div"); n.style.cssText = "position:fixed;top:8px;left:8px;z-index:2147483647;" + "background:rgba(0,0,0,0.85);color:#0f0;font:20px/1.3 monospace;" + "padding:6px 10px;white-space:pre;pointer-events:none" } n.textContent = i.join("\n"); if (!n.parentNode) t.appendChild(n); clearTimeout(a); a = setTimeout(function () { if (n && n.parentNode) n.parentNode.removeChild(n) }, 8e3) } catch (e) { } } if (e) { try { !function () { "use strict"; if (!window.__ttArrowSeekInstalled) { window.__ttArrowSeekInstalled = !0; var e = {}, t = 10; document.addEventListener("keydown", n, !0), document.addEventListener("keyup", n, !0) } function r(e) { for (; e && e !== document;) { var t = window.getComputedStyle(e); if ("true" === e.getAttribute("aria-hidden") || e.classList && e.classList.contains("zylon-hidden") || "none" === t.display || "hidden" === t.visibility) return !0; e = e.parentNode } return !1 } function n(n) { if (function (e) { return "ArrowLeft" === e.key || "ArrowRight" === e.key || 37 === e.keyCode || 39 === e.keyCode }(n)) { var i = n.keyCode || n.which, a = 39 === i ? 1 : -1; if ("keyup" === n.type) { if (!e[i]) return; return n.preventDefault(), n.stopImmediatePropagation(), void delete e[i] } if (!(n.altKey || n.ctrlKey || n.metaKey || n.shiftKey || (o = n.target) && (o.isContentEditable || /^(INPUT|TEXTAREA|SELECT)$/.test(o.tagName || "")))) { var o, u = document.querySelector("video"); if (u && !u.paused && !u.ended) { if (!e[i]) { if (function (e) { if (!e || !e.closest) return !1; var t = e.closest("ytlr-tile-renderer"); return !(!t || r(t)) }(n.target)) return; if (function () { var e, t, n, i = ["ytlr-player-page", "ytlr-player-actions-container", "ytlr-progress-bar"]; for (e = 0; e < i.length; e++)if ((t = document.querySelector(i[e])) && !r(t) && "hidden" !== (n = window.getComputedStyle(t)).visibility && parseFloat(n.opacity) > 0 && t.getClientRects().length > 0) return !0; return !1 }()) return; e[i] = !0 } n.preventDefault(), n.stopImmediatePropagation(), function (e, r) { var n = e.currentTime + r * t, i = e.duration; n < 0 && (n = 0), isFinite(i) && n > i && (n = i), e.currentTime = n }(u, a) } } } } }() } catch (e) { } } function u() { var e = "app-quality-root"; var t = 0; var r = 0; var n = []; var i = false; var a = false; var u = null; function s() { a = false; if (i) return; var t = document.body; if (!t || t.classList.contains(e)) return; var s = Date.now(); n.push(s); while (n.length && s - n[0] > 5e3) n.shift(); if (n.length > 20) { i = true; if (u) u.disconnect(); o("guard: class keeps getting removed - observer stopped"); return } t.classList.add(e); r++; if (r === 1 || r % 10 === 0) o("guard: class restored x" + r) } function d() { if (!a && !i) { a = true; setTimeout(s, 0) } } function l() { var r = document.body; if (!r) return false; if (r.__ttQualityGuard) return true; r.__ttQualityGuard = true; var n = r.classList; var i = n.remove; var a = n.toggle; n.remove = function () { var r = []; for (var a = 0; a < arguments.length; a++) { if (arguments[a] !== e) r.push(arguments[a]) } if (r.length !== arguments.length) { t++; if (t === 1 || t % 10 === 0) o("guard: blocked remove() x" + t) } if (r.length) return i.apply(n, r) }; n.toggle = function (r, i) { if (r === e && (i === false || i === undefined && n.contains(e))) { t++; return true } return a.apply(n, arguments) }; if (u) u.disconnect(); if (typeof MutationObserver === "function") { u = new MutationObserver(function () { if (!r.classList.contains(e)) d() }); u.observe(r, { attributes: true, attributeFilter: ["class"] }) } if (!n.contains(e)) n.add(e); o("guard: installed"); return true } if (!l()) { var c = setInterval(function () { try { if (l()) clearInterval(c) } catch (e) { clearInterval(c) } }, 100) } setInterval(function () { try { if (!document.body) return; if (!document.body.__ttQualityGuard) l(); else d() } catch (e) { } }, 2e3) } if (t) { try { u() } catch (e) { o("guard: FAILED") } } }();
@@ -0,0 +1 @@
1
+ !function () { "use strict"; var e = true; var t = true; var r = false; var n = null; var i = []; var a = null; function o(e) { if (!r) return; try { i.push(e); if (i.length > 6) i.shift(); var t = document.body || document.documentElement; if (!t) return; if (!n) { n = document.createElement("div"); n.style.cssText = "position:fixed;top:8px;left:8px;z-index:2147483647;" + "background:rgba(0,0,0,0.85);color:#0f0;font:20px/1.3 monospace;" + "padding:6px 10px;white-space:pre;pointer-events:none" } n.textContent = i.join("\n"); if (!n.parentNode) t.appendChild(n); clearTimeout(a); a = setTimeout(function () { if (n && n.parentNode) n.parentNode.removeChild(n) }, 8e3) } catch (e) { } } if (e) { try { !function () { "use strict"; if (!window.__ttArrowSeekInstalled) { window.__ttArrowSeekInstalled = !0; var e = {}, t = 10; document.addEventListener("keydown", n, !0), document.addEventListener("keyup", n, !0) } function r(e) { for (; e && e !== document;) { var t = window.getComputedStyle(e); if ("true" === e.getAttribute("aria-hidden") || e.classList && e.classList.contains("zylon-hidden") || "none" === t.display || "hidden" === t.visibility) return !0; e = e.parentNode } return !1 } function n(n) { if (function (e) { return "ArrowLeft" === e.key || "ArrowRight" === e.key || 37 === e.keyCode || 39 === e.keyCode }(n)) { var i = n.keyCode || n.which, a = 39 === i ? 1 : -1; if ("keyup" === n.type) { if (!e[i]) return; return n.preventDefault(), n.stopImmediatePropagation(), void delete e[i] } if (!(n.altKey || n.ctrlKey || n.metaKey || n.shiftKey || (o = n.target) && (o.isContentEditable || /^(INPUT|TEXTAREA|SELECT)$/.test(o.tagName || "")))) { var o, u = document.querySelector("video"); if (u && !u.paused && !u.ended) { if (!e[i]) { if (function (e) { if (!e || !e.closest) return !1; var t = e.closest("ytlr-tile-renderer"); return !(!t || r(t)) }(n.target)) return; if (function () { var e, t, n, i = ["ytlr-player-page", "ytlr-player-actions-container", "ytlr-progress-bar"]; for (e = 0; e < i.length; e++)if ((t = document.querySelector(i[e])) && !r(t) && "hidden" !== (n = window.getComputedStyle(t)).visibility && parseFloat(n.opacity) > 0 && t.getClientRects().length > 0) return !0; return !1 }()) return; e[i] = !0 } n.preventDefault(), n.stopImmediatePropagation(), function (e, r) { var n = e.currentTime + r * t, i = e.duration; n < 0 && (n = 0), isFinite(i) && n > i && (n = i), e.currentTime = n }(u, a) } } } } }() } catch (e) { } } function u() { var e = "app-quality-root"; var t = 0; var r = 0; var n = []; var i = false; var a = false; var u = null; function s() { a = false; if (i) return; var t = document.body; if (!t || t.classList.contains(e)) return; var s = Date.now(); n.push(s); while (n.length && s - n[0] > 5e3) n.shift(); if (n.length > 20) { i = true; if (u) u.disconnect(); o("guard: class keeps getting removed - observer stopped"); return } t.classList.add(e); r++; if (r === 1 || r % 10 === 0) o("guard: class restored x" + r) } function d() { if (!a && !i) { a = true; setTimeout(s, 0) } } function l() { var r = document.body; if (!r) return false; if (r.__ttQualityGuard) return true; r.__ttQualityGuard = true; var n = r.classList; var i = n.remove; var a = n.toggle; n.remove = function () { var r = []; for (var a = 0; a < arguments.length; a++) { if (arguments[a] !== e) r.push(arguments[a]) } if (r.length !== arguments.length) { t++; if (t === 1 || t % 10 === 0) o("guard: blocked remove() x" + t) } if (r.length) return i.apply(n, r) }; n.toggle = function (r, i) { if (r === e && (i === false || i === undefined && n.contains(e))) { t++; return true } return a.apply(n, arguments) }; if (u) u.disconnect(); if (typeof MutationObserver === "function") { u = new MutationObserver(function () { if (!r.classList.contains(e)) d() }); u.observe(r, { attributes: true, attributeFilter: ["class"] }) } if (!n.contains(e)) n.add(e); o("guard: installed"); return true } if (!l()) { var c = setInterval(function () { try { if (l()) clearInterval(c) } catch (e) { clearInterval(c) } }, 100) } setInterval(function () { try { if (!document.body) return; if (!document.body.__ttQualityGuard) l(); else d() } catch (e) { } }, 2e3) } if (t) { try { u() } catch (e) { o("guard: FAILED") } } }();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shadowtube/tizentube-noanimations",
3
3
  "appName": "TizenTube",
4
- "version": "1.15.13",
4
+ "version": "1.15.15",
5
5
  "description": "NoAnimations",
6
6
  "packageType": "mods",
7
7
  "websiteURL": "https://youtube.com/tv?additionalDataUrl=http%3A%2F%2Flocalhost%3A8085%2Fdial%2Fapps%2FYouTube",