mirror of
https://github.com/KOP-XIAO/QuantumultX.git
synced 2026-01-25 21:25:09 +00:00
Update IP_API.js
This commit is contained in:
@@ -4,7 +4,7 @@ if ($response.statusCode != 200) {
|
|||||||
|
|
||||||
const emojis= ['🆘','🈲','⚠️','🔞','📵','🚦','🏖','🖥','📺','🐧','🐬','🦉','🍄','⛳️','🚴','🤑','👽','🤖','🎃', '👺', '👁', '🐶', '🐼','🐌', '👥']
|
const emojis= ['🆘','🈲','⚠️','🔞','📵','🚦','🏖','🖥','📺','🐧','🐬','🦉','🍄','⛳️','🚴','🤑','👽','🤖','🎃', '👺', '👁', '🐶', '🐼','🐌', '👥']
|
||||||
var city0 = "高谭市";
|
var city0 = "高谭市";
|
||||||
var isp0 = "Cross-GFW.INC";
|
var isp0 = "Cross-GFW.org";
|
||||||
function getRandomInt(max) {
|
function getRandomInt(max) {
|
||||||
return Math.floor(Math.random() * Math.floor(max));
|
return Math.floor(Math.random() * Math.floor(max));
|
||||||
}
|
}
|
||||||
@@ -35,5 +35,5 @@ var obj = JSON.parse(body);
|
|||||||
var title =flags.get(obj['countryCode']) + ' '+ obj['country'];
|
var title =flags.get(obj['countryCode']) + ' '+ obj['country'];
|
||||||
var subtitle =''+City_ValidCheck(obj['city'])+'-'+'('+ ISP_ValidCheck(obj['org'])+')'+'';
|
var subtitle =''+City_ValidCheck(obj['city'])+'-'+'('+ ISP_ValidCheck(obj['org'])+')'+'';
|
||||||
var ip = obj['query'];
|
var ip = obj['query'];
|
||||||
var description = '服务商:'+obj['isp'] + '\n'+'地区:' +ValidCheck(obj['regionName'])+ '\n' + 'IP:'+ obj['query'] + '\n' +'时区:'+ obj['timezone'];
|
var description = '服务商:'+obj['isp'] + '\n'+'地区:' +City_ValidCheck(obj['regionName'])+ '\n' + 'IP:'+ obj['query'] + '\n' +'时区:'+ obj['timezone'];
|
||||||
$done({title, subtitle, ip, description});
|
$done({title, subtitle, ip, description});
|
||||||
|
|||||||
Reference in New Issue
Block a user