var t = $(".LdimgSwnvrVrOne").attr("data-attr-ldimgswnOne"); $(".LdimgSwnvrVrOne").attr("src", t); window.dataLayer = window.dataLayer || []; funksie gtag() { dataLayer.push(argumente); } gtag('js', nuwe Datum()); gtag('config', 'UA-53875827-1'); !funksie (f, b, e, v, n, t, s) { if (f.fbq) terugkeer; n = f.fbq = funksie () { n.oproepMetode ? n.callMethod.apply(n, arguments) : n.queue.push(arguments) }; if (!f._fbq) f._fbq = n; n.stoot = n; n.gelaai = !0; n.version = '2.0'; n.tou = []; t = b.createElement(e); t.async = !0; t.src = v; s = b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t, s) } (venster, dokument, 'script', 'https://connect.facebook.net/en_US/fbevents.js'); fbq('init', '144010942946156'); fbq('track', 'PageView');
var firebaseConfig = { apiKey: "AIzaSyB8JMIJDga0k0sSW2NFYnuVuHgvfrVZf6Y", authDomain: "ibrandox-1f97c.firebaseapp.com", databasisURL: "https://ibrandox-1f97c.firebaseio.com", "ibrandox-1f97c.firebaseio.com",:cbrandibaseio.com, project "ibrandoxIbrand:1", projecti -97f44964557397c.appspot.com", messagingSenderId: "7" }; firebase.initializeApp(firebaseConfig); const messaging = firebase.messaging(); messaging.usePublicVapidKey('BB3JUk0BB9QVxlFXRgZq5jiWWU03F5B0EDKuLGD21ktE05Soy7yuM5V6FzdiSFv7OCmMjXpIvpTXt3BpC8wtzew') messaging.requestaging-permission(') messaging.requestsaging-funksie('nie toegestaan.(') messaging.request console(logget)('). ken().then(function (currentToken) { console.log(currentToken); SaveClientID(currentToken) document.getElementById('token').innerHTML = currentToken; }).catch(function (err) { console.log('an error occuring retirve token', err); showToken('Error', err) ; setTokenSendToServer(false); }); }).catch(funksie (fout) {console.log('kan nie kennisgewing nie, fout); }); messaging.onMessage(funksie (payload) { var obj = JSON.parse(payload.data.notification); var notification = new Notification(obj.title, { ikoon: "https://www.ibrandox.com/assets/images /push_notification-logo.png", body: obj.body, //requireInteraction: true, data: { time: new Date(Date.now()).toString(), click_action: obj.click_action } }); }) ; funksie SaveClientID(currentToken) { $.ajax({ tipe: "POST", url: 'https://www.ibrandox.com/ToyRenting.aspx/SaveClientID', data: '{"currentToken":"' + currentToken + '"}', contentType: 'application/json; charset=utf-XNUMX', dataType: 'json', success: function (result) { if (result.d.toString() != "") { } } } ); }
(funksie () {var script = document.createElement('script');script.src = 'https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/6.26.0/polyfill.min.js' ;script.async = false;document.head.appendChild(script);}()) var __cp = {"id":"ZJNT-93H6GuR8-ApMtEn6qtwMswF1jDEllWMy_4qthU","version":"1.1"};(funksie (venster, dokument) {var cp = document.createElement('script');cp.type = 'text/javascript';cp.async = false;cp.src = "++cdn-widget.callpage.io+build+js+ callpage.js".replace(/[+]/g, '/').replace(/[=]/g, '.');var s = document.getElementsByTagName('script')[0];s. parentNode.insertBefore(cp, s);if (window.callpage) {alert('Jy kan net 1 CallPage-kode op jou webwerf hê!');} anders {window.callpage = funksie (metode) {if (metode == '__getQueue') {return this.methods;} anders as (metode) {if (typeof window.callpage.execute === 'funksie') {return window.callpage.execute.apply(hierdie, argumente);}else { (this.methods = this.methods || []).push({argumente: argumente});}}};window.callpage.__cp = __cp;window.callpage('api.button.autoshow');}} )(venster, dokument);