From 52a264ab765753a52ac6c2bd198f8a38a636f340 Mon Sep 17 00:00:00 2001 From: Vulich Fernando <46904390+fvulich@users.noreply.github.com> Date: Thu, 26 Mar 2020 12:03:50 -0300 Subject: [PATCH] Update services.json --- api/services.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/services.json b/api/services.json index 0bca7572..d44262d3 100644 --- a/api/services.json +++ b/api/services.json @@ -128,7 +128,7 @@ "type": "messaging", "allow_popups": false, "manual_notifications": false, - "js_unread": "let checkUnread=()=>{a=document.getElementsByClassName(\"msgs-indicator\").length,b=document.getElementsByClassName(\"unread-msgs\").length,rambox.updateBadge(a,b)};setInterval(checkUnread,3e3);", + "js_unread": "", "userAgent": "", "note": "", "titleBlink": false, @@ -578,7 +578,7 @@ "type": "messaging", "allow_popups": false, "manual_notifications": false, - "js_unread": "", + "js_unread": "document.addEventListener(\"keydown\",function(e){if(\"Enter\"===e.key&&!e.shiftKey){let e=document.querySelectorAll(\"button[type=button]\").length;[\"Enviar\",\"Send\",\"Senden\",\"Invia\",\"Skicka\",\"Envoyer\",\"Verzenden\",\"Отправить\"].includes(document.querySelectorAll(\"button[type=button]\")[e-1].innerText)&&document.querySelectorAll(\"button[type=button]\")[e-1].click()}});", "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G965F Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.109 Mobile Safari/537.36", "note": "", "titleBlink": false,