• DEAL of the MONTH
  • 20% discount
Offers in:
Offers for:

About us

 Support

We offer you personal and professional advice on all aspects of lubricants. Our expert knowledge and the need to resolve your questions and problems within one working day set us apart from our competitors.  Thanks to regular training and further education, our advisors are very familiar with oils, radiator antifreeze, spare parts and additives. We offer a wide range of products, making it possible to find the right product for every vehicle. We also offer regular, attractive price promotions.

Viewed
/** Einkaufswelt newsletter: explicit reCAPTCHA v2 Invisible. Footer unchanged. */ (function ($) { 'use strict'; var selector = 'form[data-newsletter-source="einkaufswelt"]'; var forms = []; function csrfFromExistingForm(form) { // Never reuse a token hard-coded in an Einkaufswelt HTML block. // Only use a currently rendered token from a separate Shopware form. var candidates = document.querySelectorAll('form:not([data-newsletter-source="einkaufswelt"]) input[name="__csrf_token"]'); var i, field; for (i = 0; i < candidates.length; i++) { field = candidates[i]; if (field.value && field.form && field.form.action && new URL(field.form.action, location.href).origin === location.origin) { var existing = form.querySelector('input[name="__csrf_token"]'); if (!existing) { existing = document.createElement('input'); existing.type = 'hidden'; existing.name = '__csrf_token'; form.appendChild(existing); } existing.value = field.value; return true; } } return false; } function init() { if (!window.grecaptcha || typeof window.grecaptcha.render !== 'function') return; $(selector).each(function () { var form = this; if (form.dataset.ewCaptchaReady === '1') return; var widget = form.querySelector('.ew-newsletter-captcha'); if (!widget || !widget.dataset.sitekey) return; var id; try { id = window.grecaptcha.render(widget, { sitekey: widget.dataset.sitekey, size: 'invisible', callback: function (token) { if (!token || form.dataset.ewSubmitting === '1') return; if (!csrfFromExistingForm(form)) { console.error('Einkaufswelt Newsletter: kein aktueller Shopware-CSRF-Token aus einem anderen Formular verfügbar. Versand gestoppt.'); window.grecaptcha.reset(id); return; } form.dataset.ewSubmitting = '1'; var submitButton = form.querySelector('button[type="submit"]'); if (submitButton) submitButton.disabled = true; HTMLFormElement.prototype.submit.call(form); }, 'expired-callback': function () { form.dataset.ewSubmitting = '0'; }, 'error-callback': function () { form.dataset.ewSubmitting = '0'; console.error('Einkaufswelt Newsletter: reCAPTCHA-Fehler'); } }); } catch (e) { console.error('Einkaufswelt Newsletter: Widget-Initialisierung fehlgeschlagen', e); return; } form.dataset.ewCaptchaReady = '1'; form.dataset.ewCaptchaId = String(id); }); } $(document).on('submit', selector, function (event) { event.preventDefault(); if (this.dataset.ewSubmitting === '1') return; init(); if (this.dataset.ewCaptchaReady !== '1') { console.error('Einkaufswelt Newsletter: Captcha noch nicht bereit'); return; } window.grecaptcha.execute(Number(this.dataset.ewCaptchaId)); }); $(function () { var tries = 0; var timer = window.setInterval(function () { init(); tries++; var pending = $(selector).filter(function () { return this.dataset.ewCaptchaReady !== '1'; }); if (!pending.length || tries >= 100) window.clearInterval(timer); }, 200); }); })(jQuery);