PageSourceSearch

https://www.corriereadriatico.it/js/common.min.js?m631456

js corriereadriatico.it collected 2026-09-27 21:31:02 UTC 9,237 bytes, 1 lines download raw bytes

1function EXEC_OAS_AD_DEFERRED() { "function" == typeof OAS_RICH && (document.querySelectorAll(".oas_placeholder").forEach((function (e) { var t = "", o = document.write; document.write = function (e) { t += e }, OAS_AD(e.getAttribute("data-pos")), document.write = o, -1 === t.indexOf('<IMG SRC="http://imageceu1.247realmedia.com/0/default/empty.gif"  WIDTH=1 HEIGHT=1 ALT="" BORDER=0 BORDER="0">') && e.classList.add("notempty"), postscribe("#" + e.id, t) })), window.setTimeout(repairSkin, 500)) } var loadDeferredStyles = function () { try { var e = document.getElementById("deferred-styles"); if (!e) return; var t = document.createElement("div"); t.innerHTML = e.textContent, document.body.appendChild(t), e.parentElement.removeChild(e) } catch (e) { } }, raf = window.requestAnimationFrame || window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame || window.msRequestAnimationFrame; function repairSkin() { var e = document.body; if ("fixed" === window.getComputedStyle(e).backgroundAttachment && !e.classList.contains("skinned")) { e.classList.add("skinned"); var t = !0; _waitFor("scroll", (function (o, n) { n > 0 && !t ? (e.style.setProperty("background-position-y", "0", "important"), e.style.setProperty("background-attachment", "fixed", "important"), t = !0) : n <= 0 && t && (e.style.setProperty("background-position-y", "0px", "important"), e.style.setProperty("background-attachment", "initial", "important"), t = !1) })), window.dispatchEvent(new Event("scroll")) } } function captchaSubmit(e) { var t = document.querySelector(".form_captcha"); t && t.submit() } function sidebarHome() { document.body.classList.contains("home") && _waitOnceFor("sidebarSticky.loaded", (function () { for (var e = [document.querySelector("body.home #right-content"), document.querySelector("body.home #right-content-2")], t = 0; t < e.length; t++) { var o = e[t]; o && ("function" == typeof o.sidebarSticky ? o.sidebarSticky() : "function" == typeof window.sidebarSticky && window.sidebarSticky(o)) } })) } raf ? raf((function () { window.setTimeout(loadDeferredStyles, 0) })) : window.addEventListener("load", loadDeferredStyles), _waitOnceFor(["ready"], (function () { var e = null, t = null, o = null, n = null, i = null, a = ""; if (document.querySelector(".home #header") || document.querySelector(".home_sezione #header") || document.querySelector(".tag #header") || document.querySelector(".search #header")) { e = document.querySelector("#header .header-top-slim"), a = "header-top-slim-fixed", e && (t = e.offsetHeight || 0); var r = document.querySelector("#header .header-bottom"); if (r) { var d = r.getBoundingClientRect(); o = d.top + window.pageYOffset } n = document.querySelector("#header"), i = "padding-top" } else if (document.querySelector(".articolo  #header") || document.querySelector(".video  #header") || document.querySelector(".foto #header") || document.querySelector(".audio #header")) { e = document.querySelector("#header .header-bottom"), a = "header-bottom-fixed", e && (t = (e.offsetHeight || 0) + 11); var s = document.querySelector("#header .header-bottom"); if (s) { var c = s.getBoundingClientRect(); o = c.top + window.pageYOffset } n = document.querySelector("#header .header-top-slim .header-top-slim__content"), i = "padding-bottom" } if (e) { var u = !1; _waitFor("scroll", (function (r, d) { d > o ? u || (e.classList.add("fixed"), document.body.classList.add(a), null != i && n && n.style.setProperty(i, t + "px"), u = !0) : u && (e.classList.remove("fixed"), document.body.classList.remove(a), null != i && n && n.removeAttribute("style"), u = !1) })), _waitFor("adv_render_ended_adv_Skin", (function () { if (e.parentElement) { var t = e.parentElement.getBoundingClientRect(); o = t.top + window.pageYOffset } window.dispatchEvent(new Event("scroll")) })) } })), function (e, t) { document.addEventListener("scroll", (function () { e = window.scrollY, t || (window.requestAnimationFrame((function () { _trigger("scroll", e), t = !1 })), t = !0) })) }(0, !1), loadScript(impostazioni_testata.assets_domain + "/js/webPushNotifications.js", (function () { _waitOnceFor("ready", (function () { var e, t = document.querySelector("#socialBarDiv > #social-link"); if (t) { document.body.classList.add("has-wpn"); var o = ((e = document.createElement("span")).id = "push-notifications-badge", e); t.insertAdjacentElement("beforeBegin", o), new WebPushNotification(o, { settingsPageUrl: impostazioni_testata.account_domain + "/user/topics", settingsLoggedPageUrl: "/UTENTI/?p=navigate&page=topics", appI
1d: impostazioni_testata.oneSignal_appId, superTags: document.querySelectorAll("body.articolo #main-content .contenuto h3.testatina > a"), supertag_text_follow: "Segui", supertag_text_subscribed: "iscritto", superTagsTextPlacement: "before", superTags: document.body.querySelectorAll(".supertag, .supertag_item, .supertag_title"), superTagBellPlacement: "inside" }) } })) })), document.addEventListener("DOMContentLoaded", (function () { document.body.classList.contains("home") && loadScript(impostazioni_testata.assets_domain + "/js/sidebarSticky.js", (function () { _trigger("sidebarSticky.loaded") })), window.onresize = sidebarHome, document.body.classList.contains("articolo") && "en" !== document.body.id && loadScript(impostazioni_testata.assets_domain + "/js/engageLeavingUsers.js") })), window.addEventListener("load", (function () { if (document.querySelector("#donna.mind_the_gap")) { var e = document.querySelector(".logo_mind_the_gap"), t = document.querySelector(".logo_mind_the_gap_min"); if (e && t) { var o = e.offsetHeight || 0, n = !1, i = e.getBoundingClientRect().top + window.pageYOffset + o - 49; _waitFor("scroll", (function (e, o) { o > i ? n || (t.classList.add("visible"), n = !0) : n && (t.classList.remove("visible"), n = !1) })) } } })), function () { function e(e) { var t, o = Number(e.target.getAttribute("width")), n = Number(e.target.getAttribute("height")); switch (0 === o || 0 === n ? 0 : (n / o).toFixed(2)) { case "1.00": t = "/img/placeholders/THUMB.jpg"; break; case "0.55": t = "/img/placeholders/MED.jpg"; break; case "0.35": t = "/img/placeholders/PANORAMA.jpg"; break; default: t = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mPcfBIAAjUBfhd+1wMAAAAASUVORK5CYII=" }e.target.src = t, e.target.onerror = null } _waitFor("ready", (function () { var t = document.querySelectorAll("img"); if (t && t.length) for (var o = 0; o < t.length; o++)if (-1 !== t[o].src.indexOf("/photos/")) { var n = t[o].onerror; t[o].onerror = function (t, o) { try { "function" == typeof t ? (t.bind(this)(), this.onerror = e) : e(o) } catch (e) { CED.log("ced_onerror", e) } }.bind(t[o], n) } })) }(), _waitOnceFor("cookielaw_5_accepted", (function () { var e = "adv_LdbMastheadPush"; if (document.getElementById(e) && loadScript(impostazioni_testata.assets_domain + "/src/js/sticker.js", (function () { _waitOnceFor("adv_render_ended_" + e, (function () { var t = document.querySelector("#" + e), o = window.StiCa(t, { top: 49, time: 10, zIndex: 9999999 }); _waitOnceFor("adv_impression_viewable_" + e, (function () { setTimeout(o.stopSticky, 800) })) })) })), document.body.classList.contains("home")) { var t = "adv_Skin"; document.getElementById(t) && loadScript(impostazioni_testata.assets_domain + "/src/js/sticker.js", (function () { _waitOnceFor("adv_render_ended_adv_Skin", (function (e, t, o, n, i) { if (!n && "1,1" !== i) { var a = document.querySelector("#adv_Skin"), r = window.StiCa(a, { top: 60, time: 10, zIndex: 9999999 }); _waitOnceFor("adv_impression_viewable_adv_Skin", (function () { setTimeout(r.stopSticky, 800) })) } })) })) } })), _waitOnceFor(["jqueryloaded", "ready"], (function () { var e = document.getElementById("search-value"), t = document.getElementById("search-box-button"), o = 0; function n(t) { if (t) { var n = "activesearch", i = document.getElementById("search-box"), a = i.classList.contains(n); "mouseup" === t.type ? a || (i.classList.toggle(n), 0 === o && (o = 1)) : "click" === t.type && (0 === o ? setTimeout((function () { e && e.focus(), o = 1 }), 500) : 1 === o && (e && e.blur(), o = 0), i.classList.toggle(n)) } } e && e.addEventListener("mouseup", n, !1), t && t.addEventListener("click", n, !1) })), window.addEventListener("load", (function () { for (var e = document.getElementsByClassName("html_base_inner"), t = 0; t < e.length; t++)e[t].addEventListener("mouseover", (function () { this.classList.add("block_hover") }), !1), e[t].addEventListener("mouseleave", (function () { this.classList.remove("block_hover") }), !1) })), _waitOnceFor("ready", (function () { var e = document.querySelector(".box-tv"); if (e) { var t = e.querySelector(".testatabox h3 a"); if (t) t.textContent.toUpperCase().includes("CORRIERE ADRIATICO TV") && (t.innerHTML = "CORRIERE ADRIATICO <span>TV</span>") } var o = document.querySelector(".box-foto"); if (o) { var n = o.querySelector(".testatabox h3 a"); if (n) n.textContent.toUpperCase().includes("CORRIERE ADRIATICO FOTO") && (n.innerHTML = "CORRIERE ADRIATICO <span>FOTO</span>") } })), _waitOnceFor(["socialbar_disabled", "cookielaw.accepted"], (() => { loadScript(impostazioni_testata.assets_domain + "/js/oneTapLogin.js") }));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.