@mitosbetting01 | joy.link
@mitosbetting01 from joy.link

@mitosbetting01

function loadIframelyEmbedJs() { //- Replace 'iframe.ly' with your custom CDN if available. if (document.querySelectorAll("[data-iframely-url]").length === 0 && document.querySelectorAll("iframe[src*='https://cdn.iframe.ly/embed.js?key=0c381087375598a04f485992cf6c2e58']").length === 0) return; var iframely = window.iframely = window.iframely || {}; if (iframely.load) { iframely.load(); } else { var ifs = document.createElement('script'); ifs.type = 'text/javascript'; ifs.async = true; ifs.src = ('https:' == document.location.protocol ? 'https:' : 'http:') + '//cdn.iframe.ly/embed.js?key=0c381087375598a04f485992cf6c2e58'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ifs, s); } } //- Run after DOM ready. loadIframelyEmbedJs(); var userPublicProfileObj = JSON.parse('{"sensitive":0,"domain":"joy.link","userId":"3f0efee79663639bb0c0e1c085eb6a719a53c1e91e036d10f8972db6a95c0524","userName":"mitosbetting01","embedded":1,"footerFlag":0,"userProfilePic":"3f0efee79663639bb0c0e1c085eb6a719a53c1e91e036d10f8972db6a95c0524_1700838446.png","imageKitOptimisation":0}') var userlinkArr = [{"linkId":733778,"title":"MITOSBET | FAKTABET | SLOT MITOSBET | SLOT FAKTABET | LINK MITOSBET | LINK FAKTABET | MITOSJOKER | MITOSFAFA","url":"-","type":"text"},{"linkId":478378,"title":"LINK MITOSBET","url":"https://selalugoyang.com/daftar?refs=JWMITOSBET","type":"others"},{"linkId":478377,"title":"DAFTAR SLOT PRAGMATIC","url":"https://tinyurl.com/torres02","type":"others"},{"linkId":733776,"title":"TARUHAN MOBILE LEGENDS","url":"https://heylink.me/judiesport/","type":"others"},{"linkId":478376,"title":"RTP SLOT GACOR","url":"https://rtpmitosbet.live/","type":"others"}] for (let i=0;i<userlinkArr.length;i++) { window.dataLayer.push({ 'event': 'profile-linkImpression', 'userName': 'mitosbetting01', 'linkId':userlinkArr[i]['linkId'] }); window.dataLayer.push({ 'event': 'GA4 - linkImpression', 'userName': 'mitosbetting01', 'linkId':userlinkArr[i]['linkId'] }); } var userSocialProfilesObj = JSON.parse('{}') for (let key in userSocialProfilesObj) { window.dataLayer.push({ 'event': 'profile-socialImpression', 'userName': 'mitosbetting01', 'socialType': key }); window.dataLayer.push({ 'event': 'GA4 - socialImpression', 'userName': 'mitosbetting01', 'socialType': key }); } $('.socialGtm').on('click', function () { window.dataLayer.push({ 'event': 'profile-socialClick', 'userName': 'mitosbetting01', 'socialType':$(this).attr('socialType') }); window.dataLayer.push({ 'event': 'GA4 - socialClick', 'userName': 'mitosbetting01', 'socialType':$(this).attr('socialType') }); }) $('.linkGtm').on('click', function () { window.dataLayer.push({ 'event': 'profile-linkClick', 'userName': 'mitosbetting01', 'linkId':$(this).attr('linkId') }); window.dataLayer.push({ 'event': 'GA4 - linkClick', 'userName': 'mitosbetting01', 'linkId':$(this).attr('linkId') }); }) var imageKitOptimisation = 0 var pageBackgroundUrl = 'theme-2560-twinklestar.svg' var inputPreview = '' var inputHomepagePreview = '' // var bgImageUrlBase = 'https://ik.imagekit.io/sagflko8bo/backgroundPic/'+pageBackgroundUrl //- only do this in nonhomepage if (!inputHomepagePreview) { $( document ).ready(function() { //- if (inputPreview) { //- var screenHeight = 812 //- var screenWidth = 375 //- } else { var screenHeight = screen.height var screenWidth = screen.width //- } var pageHeight = $(document).height() var pageWidth = $(document).width() console.log("Your screen resolution is: " + screenWidth + "x" + screenHeight); console.log("page resolution" + pageWidth + " " + pageHeight) if(imageKitOptimisation && screenHeight && screenWidth){ var bgImageUrlBase = 'https://asset.joy.link/backgroundPic/'+screenWidth+'x'+screenHeight+'/'+pageBackgroundUrl //-$('#wrapper').css('background-image',`url(${bgImageUrlBase}?tr=w-${pageWidth},h-${pageHeight},q-50,f-jpg,pr-true)`).css('background-size','cover') //- $('#wrapper').css('background-image',`url(${bgImageUrlBase}`).css('background-size','cover') $('#wrapper').css('background-image',`url(${bgImageUrlBase}`).css('background-attachment','fixed').css('background-size','cover').css('background-repeat','no-repeat').css('background-position','center') } else{ //-bgImageUrlBase = 'https://ik.imagekit.io/sagflko8bo/backgroundPic/'+pageBackgroundUrl var bgImageUrlBase = 'https://asset.joy.link/backgroundPic/'+pageBackgroundUrl // $('#wrapper').css('background-image',`url(${bgImageUrlBase}`).css('background-size','cover') $('#wrapper').css('background-image',`url(${bgImageUrlBase}`).css('background-attachment','fixed').css('background-size','cover').css('background-repeat','no-repeat').css('background-position','center') } }); }
x server