function scrollToErrors(mutations) { const errorWindow = document.querySelector('#view-state2'); function insideScrollToErrors(mutations) { for (let mutation of mutations) { if (mutation.type === 'attributes' && mutation.attributeName === 'class' && mutation.target.className === 'message-block rasch-message-block') { const insideErrorWindow = errorWindow.getElementsByClassName('message-block rasch-message-block'); insideErrorWindow[0].scrollIntoView({behavior: "smooth"}); } } } const insideObserver = new MutationObserver(insideScrollToErrors); insideObserver.observe(errorWindow, { attributes: true, subtree: true }); } const documentBody = document.querySelector('body'); const observer = new MutationObserver(scrollToErrors); observer.observe(documentBody, { attributes: true });
function switchCountriesOrder(mutations) { var dropdownArrow = document.querySelector('.rasch-country-selector + .rasch-change-country-link .rasch-icon-chevron-down'); var openDropdownClass = 'rasch-open-dropdown'; for (let mutation of mutations) { if (mutation.type === 'childList' && mutation.addedNodes.length && mutation.addedNodes[0].id === 'countrySelectorId') { var countrySwitzerland = mutation.addedNodes[0].querySelector('.country-icon-ch'); var countryGermany = mutation.addedNodes[0].querySelector('.country-icon-de'); var countryAustria = mutation.addedNodes[0].querySelector('.country-icon-at'); var countryFrance = mutation.addedNodes[0].querySelector('.country-icon-fr'); countrySwitzerland ? countrySwitzerland.parentNode.style.order = -4 : null; countryGermany.parentNode.style.order = -3; countryAustria.parentNode.style.order = -2; countryFrance.parentNode.style.order = -1; dropdownArrow && dropdownArrow.classList.add(openDropdownClass); } else { dropdownArrow && dropdownArrow.classList.remove(openDropdownClass); } } } const documentBody = document.querySelector('body'); const observer = new MutationObserver(switchCountriesOrder); observer.observe(documentBody, { childList: true });

{{terminalErrorHeading}}

An error has occurred

{{terminalError}}

Payment method

If you have a coupon code, you can redeem it here.

Jetzt kostenlos registrieren und weiterlesen

Erstellen Sie Ihr kostenloses Login auf Handelszeitung.ch und profitieren Sie von vielen Vorteilen.
var track_count = 0; const checkTrackingParams = setInterval(function(){ try { if(typeof parent != "undefined" && parent != window) { if(typeof parent.postMessage != "undefined") { var message = {}; message["event"] = "piano_show_offer"; var terms = document.querySelectorAll(".tracking-config [data-term-id]"); var term_ids = []; for (var i = 0; i < terms.length; i++) { term_ids.push(terms[i].dataset.termId); } message["piano_term_ids"] = term_ids; var tracking_config = document.querySelector(".tracking-config"); message["piano_experience_id"] = tracking_config.dataset.experienceId; message["piano_offer_id"] = tracking_config.dataset.offerId; message["piano_template_id"] = tracking_config.dataset.templateId; message["piano_template_variant_id"] = tracking_config.dataset.templateVariantId; if (message["piano_experience_id"] != "" && message["piano_offer_id"] != "") { parent.postMessage(message, "*"); clearInterval(checkTrackingParams); } } } } catch(err){}; track_count = track_count + 1; if (track_count > 10) { clearInterval(checkTrackingParams); } }, 200);