Update IPCustom.js

This commit is contained in:
Shawn
2019-07-07 22:20:23 +08:00
committed by GitHub
parent 4a132be78e
commit 2410137dc7

View File

@@ -18,8 +18,8 @@ const emojis= ['🆘','🈲','⚠️','🔞','📵','🚦','🏖','🖥','📺',
var body = $response.body; var body = $response.body;
var obj = JSON.parse(body); var obj = JSON.parse(body);
var title = emojis[getRandomInt(emojis.length)] +obj['country'] +obj['city']+' '+ foods[getRandomInt(foods.length)]; var title = emojis[getRandomInt(emojis.length)] +obj['country']+ '-' +obj['city']+ foods[getRandomInt(foods.length)];
var subtitle =obj['isp']+ '('+obj['ipType']+')'; var subtitle =''+ obj['isp']+ '('+obj['ipType']+')';
var ip = obj['query']; var ip = obj['query'];
var description = obj['country'] + '-' + obj['city'] + '\n' + obj['isp'] + '\n' + obj['ipType']+ '\n' + ip; var description = obj['country'] + '-' + obj['city'] + '\n' + obj['isp'] + '\n' + obj['ipType']+ '\n' + ip;