jQuery(document).ready(function($) { // Mobile device check $is_mobile_device = null !== navigator.userAgent.match(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/); if ($is_mobile_device) { // Function to check if an element is in the Viewport isInViewport = function(elem) { elementTop = elem.offset().top, elementBottom = elementTop + elem.outerHeight(), viewportTop = $(window).scrollTop(), viewportBottom = viewportTop + $(window).height(); return elementBottom > viewportTop && elementTop < viewportBottom; }; // Apply Parallax transform calculations when scrolling $(window).scroll(function() { $(".et_parallax_bg").each(function() { var $this_parent = $(this).parent(); // Check if the parent element is on-screen var $is_visible = isInViewport($this_parent); if ($is_visible) { element_top = $this_parent.offset().top, parallaxHeight = $(this).parent(".et_pb_fullscreen").length && $(window).height() > $this_parent.innerHeight() ? $(window).height() : $this_parent.innerHeight(), bg_height = .3 * $(window).height() + parallaxHeight, main_position = "translate(0, " + .3 * ($(window).scrollTop() + $(window).height() - element_top) + "px)"; $(this).css({height: bg_height,"-webkit-transform": main_position,"-moz-transform": main_position,"-ms-transform": main_position,transform: main_position}); } }); }); } });
function waitForElm(selector) { return new Promise(resolve => { if (document.querySelector(selector)) { return resolve(document.querySelector(selector)); } const observer = new MutationObserver(mutations => { if (document.querySelector(selector)) { observer.disconnect(); resolve(document.querySelector(selector)); } }); // If you get "parameter 1 is not of type 'Node'" error, see https://stackoverflow.com/a/77855838/492336 observer.observe(document.body, { childList: true, subtree: true }); }); } const removeRelatedVideos = function (){ waitForElm('iframe[src*="youtube"]:not([src*="rel=0"])').then(function (element) { const url = new URL(element.src); url.searchParams.set('rel', 0); element.src = url.href; removeRelatedVideos(); }); } removeRelatedVideos();

Έφτασε η ώρα του Καλοκαιρινού Διαγωνισμού!!!

Ποιος θα κερδίσει φέτος;

Ο χρόνος μετρά αντίστροφα... Δευτέρα 22 Ιουνίου

00 : 00 : 00 : 00

📧

 Δήλωσε συμμετοχή στο e-mail του Μηνύματος:
στέλνοντας το ονοματεπώνυμό σου, το Κατηχητικό στο οποίο πας,
καθώς και το ψευδώνυμο με το οποίο θα κερδίσεις τα πλούσια δώρα του Μηνύματος.