1( function($) { 2 // IP Notice Bar 3 if( /Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent) ) { 4 $("#vpn-notice-bar").hide(); 5 $.getJSON('https://ipapi.co/json/', function(data) { 6 7 if ( data ) { 8 console.log(data); 9 var ipAddress = data.ip; 10 var physLocation = data.city; 11 12 if ( ipAddress && physLocation ) { 13 $('#vpn-notice-bar').show(); 14 $("#ip-address").html(ipAddress); 15 $("#ip-location").html(physLocation); 16 } else { 17 $("#vpn-notice-bar").hide(); 18 } 19 } 20 }); 21 } 22 } ) ( jQuery );
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.