mirror of
https://github.com/KOP-XIAO/QuantumultX.git
synced 2026-01-25 21:25:09 +00:00
Update and rename IPInfo.js to IPInf.js
This commit is contained in:
@@ -21,7 +21,7 @@ var flags = new Map([[ "AC" , "🇦🇨" ] , [ "AF" , "🇦🇫" ] , [ "AI" , "
|
|||||||
var body = $response.body;
|
var body = $response.body;
|
||||||
var bd=body.split('\n')[1];
|
var bd=body.split('\n')[1];
|
||||||
$notify("test","test",bd);
|
$notify("test","test",bd);
|
||||||
var obj = bd; //JSON.parse(bd);
|
var obj = JSON.parse(bd);
|
||||||
var title = flags.get(obj['country_code']) + ' '+ obj['country_name'];
|
var title = flags.get(obj['country_code']) + ' '+ obj['country_name'];
|
||||||
var subtitle =''+ValidCheck(obj['city'])+'-'+'('+obj['asn_org']+')'+'';
|
var subtitle =''+ValidCheck(obj['city'])+'-'+'('+obj['asn_org']+')'+'';
|
||||||
var ip = obj['ip'];
|
var ip = obj['ip'];
|
||||||
Reference in New Issue
Block a user