1//è·å客æ·ç«¯IPä¸åæ¬å° 2var Visitor_IP = getCookie("Visitor_IP"); 3var Visitor_Country = getCookie("Visitor_Country"); 4if ((Visitor_IP == null || Visitor_Country == null) || (Visitor_IP == "" || Visitor_Country == "")) { 5 console.log("456") 6 $.ajax({ 7 url: "https://api.ipinfodb.com/v3/ip-country/?key=c9dcc88453e33a9e63ebad8d65f91583e87abd8185dd95f09fbeef6c62264f7d&format=json", 8 type: "GET", 9 data: {}, 10 dataType: "json", 11 success: function (result) { 12 $("input[name='Visitor_IP']").val(result.ipAddress) 13 $("input[name='Visitor_Country']").val(result.countryName) 14 setCookie("Visitor_IP", result.ipAddress, 30); 15 setCookie("Visitor_Country", result.countryName, 30); 16 }, 17 error: function () { 18 $("input[name='Visitor_IP']").val("0.0.0.0") 19 $("input[name='Visitor_Country']").val("æªç¥å°åº") 20 } 21 }); 22} else { 23 console.log("cookieåå¨") 24 $("input[name='Visitor_IP']").val(Visitor_IP) 25 $("input[name='Visitor_Country']").val(Visitor_Country) 26}
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.