1jQuery( document ).ready( function( $ ) { 2 3 if (navigator.userAgent.indexOf('gonative') > -1) { 4 $("[data-hideapp]").remove(); 5 var home_app_link = $("#home_app_link").val(); 6 $("a[name=home_link]").attr("href", home_app_link); 7 8 if (navigator.userAgent.indexOf('gonative') > -1 && !(navigator.userAgent.indexOf('GoNativeIOS') > -1)) { 9 sleep(0.5).then(() => { 10 gonative.android.geoLocation.promptAndroidLocationServices(); 11 }); 12 } 13 14 // var items = [{ 15 // label: 'google', 16 // url: 'https://google.com' 17 // }, { 18 // label: 'apple', 19 // url: 'https://apple.com' 20 // }]; 21 // var json = JSON.stringify(items); 22 23 // window.location.href = 'gonative://sidebar/setItems?items=' + encodeURIComponent(json); 24 25 26 $(window).load(function(){ 27 if (navigator.userAgent.indexOf('GoNativeIOS') > -1) { 28 var pad = $(".Header-navbar").css("height"); 29 $("body").css("padding-top", pad); 30 } 31 }); 32 33 34 } 35 36 37 38 39}); 40 41 42 43// function gonative_device_info(info) { 44// alert(JSON.stringify(info)); 45// }
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.