From 2410137dc78030e1a6dfb687cb2df7bc7c468202 Mon Sep 17 00:00:00 2001 From: Shawn <45581750+KOP-XIAO@users.noreply.github.com> Date: Sun, 7 Jul 2019 22:20:23 +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 2742769..f1e3a87 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)]; -var subtitle =obj['isp']+ '('+obj['ipType']+')'; +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;