Update and rename IPInfo.js to IPInfo1.js

This commit is contained in:
Shawn
2019-07-16 19:45:59 +08:00
committed by GitHub
parent ad5978a634
commit 63fbc1fb2a

View File

@@ -21,7 +21,7 @@ var flags = new Map([[ "AC" , "🇦🇨" ] , [ "AF" , "🇦🇫" ] , [ "AI" , "
var body = $response.body;
var bd=body.split('\n')[1];
$notify("test","test",bd);
var obj = JSON.parse(bd);
var obj = bd; //JSON.parse(bd);
var title = flags.get(obj['country_code']) + ' '+ obj['country_name'];
var subtitle =''+ValidCheck(obj['city'])+'-'+'('+obj['asn_org']+')'+'';
var ip = obj['ip'];