PageSourceSearch

https://www.kalyteri-stoiximatiki.gr/cache/assets/13/script_footer_static-bf18372.js

js kalyteri-stoiximatiki.gr collected 2026-10-02 22:58:41 UTC 4,172 bytes, 7 lines download raw bytes

1(function(){"use strict"})();
2(function(){function e(e){if(document.readyState==="loading"){document.addEventListener("DOMContentLoaded",e)}else{e()}}e(function(){var e=o();var t=a(e,"utm_source")&&e.utm_source==="promo";if(t&&a(e,"utm_campaign")){sessionStorage.setItem("utm_campaign",e.utm_campaign)}n()});function n(){var n=sessionStorage.getItem("utm_campaign");if(n!==null){Array.prototype.forEach.call(document.querySelectorAll('a[href*="/go/"]'),function(t){t.addEventListener("click",function(){if(!t.getAttribute("data-campaign")){var e=t.href;if(/\?/.test(e)){e+="&"}else{e+="?"}e=decodeURIComponent(e).replace(/\bweak\[[^\]]*\]=[^&]+/,"");e+="weak[]="+encodeURIComponent(n);t.setAttribute("data-campaign",n);t.href=e}})})}}function a(e,t){return typeof e[t]!=="undefined"}function o(){var e={utm_source:null,utm_campaign:null,utm_medium:null};for(var t in e){e[t]=r(t)}return e}function r(e){e=e.replace(/[[]/,"\\[").replace(/[\]]/,"\\]");var t=new RegExp("[\\?&]"+e+"=([^&#]*)");var n=t.exec(location.search);if(n!==null){n=decodeURIComponent(n[1].replace(/\+/g," "))}return n}})();
3(function(){"use strict";var e="(Chrome-Lighthouse|Googlebot|Page Speed Insights)";var t=new RegExp(e,"i");if(t.test(navigator.userAgent)){document.cookie="cookie_notice_accepted=true"}})();
4window.addEventListener("beforeinstallprompt",function(e){if(typeof ga!=="undefined"){ga("send",{hitType:"event",eventCategory:"Add to homescreen",eventAction:"displayed"})}e.userChoice.then(function(e){if(e.outcome=="dismissed"){if(typeof ga!=="undefined"){ga("send",{hitType:"event",eventCategory:"Add to homescreen",eventAction:"cancelled"})}}else{if(typeof ga!=="undefined"){ga("send",{hitType:"event",eventCategory:"Add to homescreen",eventAction:"install"})}}})});
5document.querySelector(".header__menu-button--search").addEventListener("click",function(){document.body.classList.add("open-search"),document.getElementById("search-field").focus()}),document.querySelector(".header__search-box").addEventListener("click",function(e){"header__search-box"===e.target.className&&document.body.classList.remove("open-search")}),document.querySelector(".header__menu-button--menu").addEventListener("click",function(){document.body.classList.add("open-menu")}),document.querySelector(".header__navigation").addEventListener("click",function(){document.body.classList.remove("open-menu")}),Array.prototype.forEach.call(document.querySelectorAll(".card__item-container, .home-compare__item-container, .recent-posts__item-container"),function(c){c.addEventListener("click",function(e){var t;e.target.closest("a")||(t=c.querySelector(".button--overlay")||c.querySelector(".button--primary")||c.querySelector(".read-more"))&&-1===Array.from(c.classList).indexOf("expired")&&-1===e.target.className.indexOf("button--primary")&&t.click()})});
6(()=>{var t,e,a,r;t=document.querySelectorAll(".date-time__post-date, .post-details__post-date, .post-navigation__post-date"),e=new Date,a=new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0),r=new Date(e.getFullYear(),e.getMonth(),e.getDate()-2,23,59,59),Array.prototype.forEach.call(t,function(t){var e=t.getAttribute("data-timestamp"),e=new Date(1e3*Number(e));a<e?t.innerHTML=t.getAttribute("data-today"):r<e&&e<a&&(t.innerHTML=t.getAttribute("data-yesterday"))})})();
7function sortStandingTable(s,e){let t,a,n,r,i,o,l,c,g=0,T="";t=document.getElementById(e);const f=t.getElementsByTagName("TH");for(let e=0;e<f.length;e++){const m=f[e];if(m.classList.contains("sorting_asc")){m.classList.remove("sorting_asc");T="sorting_desc"}else if(m.classList.contains("sorting_desc")){m.classList.remove("sorting_desc");T="sorting_asc"}}t.getElementsByTagName("TH")[s].classList.add(T);n=true;c="asc";while(n){n=false;a=t.rows;for(r=1;r<a.length-1;r++){let e=a[r].getElementsByTagName("TH")[s];l=false;i=a[r].getElementsByTagName("TD")[s];o=a[r+1].getElementsByTagName("TD")[s];if(c=="asc"){if(i.innerHTML.toLowerCase()>o.innerHTML.toLowerCase()){l=true;break}}else if(c=="desc"){if(i.innerHTML.toLowerCase()<o.innerHTML.toLowerCase()){l=true;break}}}if(l){a[r].parentNode.insertBefore(a[r+1],a[r]);n=true;g++}else{if(g==0&&c=="asc"){c="desc";n=true}}}}

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.