1/* 2 * 3 */ 4 5function launchApp() { 6 7 var iPhoneRegex = /(iPhone)/; 8 var androidRegex = /(Android)/; 9 10 var isIPhone = navigator.userAgent && navigator.userAgent.match(iPhoneRegex); 11 var isAndroid = navigator.userAgent && navigator.userAgent.match(androidRegex); 12 13 var now = new Date().valueOf(); 14 15 if (isIPhone) { 16 setTimeout(function () { 17 if (new Date().valueOf() - now > 100) return; 18 window.location = "https://itunes.apple.com/jp/app/kurashinomaketto-dian-pu-guan/id1024919472?mt=8"; 19 }, 75); 20 } else if (isAndroid) { 21 window.location = "intent://#Intent;scheme=curama.shop;package=curama.shop;end;"; 22 } else { 23 window.location = "/shop/info/24e60625-e03e-4217-9721-c15a07544b44"; 24 } 25} 26 27function removeSmartLink(cookieKey) { 28 $('.link-to-app').remove(); 29 $.cookie(cookieKey, 'true', {'path': '/'}); 30} 31 32$(function(){ 33 $('.js_smart-app-banner__exit').click(function() { 34 $(this).parent().remove(); 35 $(".wrap-back-progress").css("top", 0); 36 $.cookie('isClosedSmartBanner', 'true'); 37 }); 38});
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.