From 465a5318a7fe2ebda8b1fb0db390dc0c2ae90440 Mon Sep 17 00:00:00 2001 From: Shawn <45581750+KOP-XIAO@users.noreply.github.com> Date: Sun, 7 Jul 2019 21:30:13 +0800 Subject: [PATCH] Update IPCustom.js --- Scripts/IPCustom.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/IPCustom.js b/Scripts/IPCustom.js index 7f3c328..6716c1a 100644 --- a/Scripts/IPCustom.js +++ b/Scripts/IPCustom.js @@ -18,8 +18,8 @@ const emojis= ['🆘','🈲','⚠️','🔞','📵','🚦','🏖','🖥','📺', var body = $response.body; var obj = JSON.parse(body); -var title = emojis[getRandomInt(emojis.length)]+' ' +obj['country'] + '-' +obj['city']+' '+ foods[getRandomInt(foods.length)]+'\n'+obj['isp']; -var subtitle = obj['city'] + ' ' + obj['isp']; +var title = emojis[getRandomInt(emojis.length)] +obj['country'] +obj['city']+' '+ foods[getRandomInt(foods.length)]; +var subtitle =obj['isp']+ '('obj['ipType']+')'; var ip = obj['query']; var description = obj['country'] + '-' + obj['city'] + '\n' + obj['isp'] + '\n' + obj['ipType']+ '\n' + ip;