Wednesday, April 22, 2026
7.5 C
United Kingdom
More

    Latest Posts

    ‘The year we won the title was really cool. Our first defeat was in round 28. People were

    ‘The year we won the title was really cool. Our first defeat was in round 28. People were already talking about whether we could repeat Arsenal’s Invincibles’ Fabinho recalls Liverpool’s 2020 title success | FourFourTwo

    Skip to main content

    `;
    }
    })
    .catch(error => {
    console.error(“Submission failed”, error);
    submitBtn.disabled = false;
    });
    });
    }
    function updateBannerPosition() {
    if (!banner || !bannerVisible) return;
    const masthead = document.querySelector(‘[data-component-name=”SiteHeader:Masthead”]’);
    const ads_iframe = document.querySelector(‘iframe[name^=”google_ads_iframe_”]’);
    const bigTop = ads_iframe?.contentDocument?.querySelector(‘#future-big-top-collapsed’);
    let targetTop = 0;
    if (masthead) {
    const rect = masthead.getBoundingClientRect();
    targetTop = rect.bottom > 0 ? rect.bottom : 0;
    }
    banner.style.top = `${targetTop}px`;
    banner.style.marginTop = bigTop ? “10px” : “0px”;
    }
    function showBanner() {
    const ads_iframe = document.querySelector(‘iframe[name^=”google_ads_iframe_”]’);
    const bigTopElement = ads_iframe?.contentDocument?.querySelector(‘#future-big-top-collapsed’);
    if(bigTopElement) banner.classList.add(‘flw-translate-150’);
    if(typeof ffte !== ‘undefined’ && ffte?.properties?.articleType === ‘deals’) return false;
    const isAuthKiosq = window.FUTR?.Kiosq?.User?.is_authenticated;
    const isAuthConnect = window.FUTR?.Connect?.Auth?.kiosqUserIsAuthenticated;
    if (!bannerDismissed && !isAuthKiosq && !isAuthConnect) {
    if(window.dispatchOrQueueAction) {
    window.dispatchOrQueueAction(‘freyr.sendEventToFreyr’, {
    name: ‘membershipEvent’,
    eventObject: { membership: { action: “scroll-page”, label: “membership-banner”, type: “banner-sticky” } }
    });
    }
    banner.classList.add(‘show’);
    document.body.classList.add(‘banner-visible’);
    bannerVisible = true;
    }
    }
    function hideBanner() {
    if (isInputFocused) return;
    banner.classList.remove(‘show’);
    bannerVisible = false;
    bannerExpanded = false;
    banner.classList.remove(‘expanded’);
    document.body.classList.remove(‘banner-expanded’);
    }
    function toggleBanner() {
    if (bannerDismissed) return;
    bannerExpanded = !bannerExpanded;
    banner.classList.toggle(‘expanded’, bannerExpanded);
    document.body.classList.toggle(‘banner-expanded’, bannerExpanded);
    if (bannerExpanded && window.dispatchOrQueueAction) {
    window.dispatchOrQueueAction(‘freyr.sendEventToFreyr’,…
    2026-04-19 19:00:00

    LEAVE A REPLY

    Please enter your comment!
    Please enter your name here

    Latest Posts