PageSourceSearch

https://constanttherapyhealth.com/wp-content/cache/autoptimize/js/…408c36810b9c373312fa07de2.js?ver=1790203236

js constanttherapyhealth.com collected 2026-09-24 19:05:27 UTC 2,656 bytes, 11 lines download raw bytes

1function appBanner(){if(getCookie('hideBanner')!='true'){$=jQuery;var isMobile=true;var deviceType;var dlLink;var dlLinkClinician;var ua=navigator.userAgent;var expiry4BannerCloseDays=15;var expiry4BannerClickDays=90;var expiry4BannerCloseMins=1;var expiry4BannerClickMins=2;if(/Android/i.test(ua)){deviceType='android';}
2else if(/iPhone|iPad|iPod/i.test(ua)){deviceType='ios';}
3else if(/Kindle/i.test(ua)||/Silk/i.test(ua)||/KFTT/i.test(ua)||/KFOT/i.test(ua)||/KFJWA/i.test(ua)||/KFJWI/i.test(ua)||/KFSOWI/i.test(ua)||/KFTHWA/i.test(ua)||/KFTHWI/i.test(ua)||/KFAPWA/i.test(ua)||/KFAPWI/i.test(ua)){deviceType='kindle-fire';}
4else{isMobile=false;}
5if(isMobile){$('#page-container').prepend('<div id="mobile-app-banner"></div>');$('#mobile-app-banner').addClass(deviceType);$('#mobile-app-banner').append('<div class="mobile-app-banner-inner"></div>');switch(deviceType){case'android':dlLink='https://play.google.com/store/apps/details?id=com.constanttherapy.android.main';dlLinkClinician='https://play.google.com/store/apps/details?id=com.constanttherapy.android.main.clinician';break;case'ios':dlLink='https://itunes.apple.com/us/app/constant-therapy/id575764424';dlLinkClinician='https://apps.apple.com/us/app/constant-therapy-clinician/id1472010034';break;case'kindle-fire':dlLink='http://www.amazon.com/gp/product/B00PSTP0DU';dlLinkClinician='http://www.amazon.com/gp/mas/dl/android?p=com.constanttherapy.android.main.clinician';break;default:}
6$('#mobile-app-banner .mobile-app-banner-inner').append('<a class="download-link download-for-patients" href="'+dlLink+'"></a>');$('#mobile-app-banner .mobile-app-banner-inner').append('<a class="download-link download-for-clinicians" href="'+dlLinkClinician+'"></a>');$('#mobile-app-banner .download-for-patients').attr('href',dlLink);$('#mobile-app-banner .download-for-clinicians').attr('href',dlLinkClinician);$('#mobile-app-banner-close-btn').on('click',function(){$('#mobile-app-banner').addClass('closed');setHideBannerCookie(moment(new Date()).add(expiry4BannerCloseDays,'days').toDate());});$('#app-banner-download-btn').on('click',function(e){$('#mobile-app-banner').addClass('closed');setHideBannerCookie(moment(new Date()).add(expiry4BannerClickDays,'days').toDate());});}}}
7function setHideBannerCookie(expiryDate){document.cookie="hideBanner=true;expires="+expiryDate.toUTCString()+";";}
8function getCookie(cname){var name=cname+"=";var decodedCookie=decodeURIComponent(document.cookie);var ca=decodedCookie.split(';');for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==' '){c=c.substring(1);}
9if(c.indexOf(name)==0){return c.substring(name.length,c.length);}}
10return"";}
11appBanner();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.