From 836abd07ffa95b56a53b56a596d999a279292324 Mon Sep 17 00:00:00 2001 From: Vulich Fernando <46904390+fvulich@users.noreply.github.com> Date: Fri, 18 Sep 2020 17:06:00 -0300 Subject: [PATCH] Add WhatsApp Business fix https://github.com/ramboxapp/community-edition/issues/2779 --- api/services.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/api/services.json b/api/services.json index 18657cda..26a42e74 100644 --- a/api/services.json +++ b/api/services.json @@ -1439,6 +1439,21 @@ "titleBlink": false, "custom_domain": false }, + { + "id": "whatsappbusiness", + "logo": "whatsappbusiness.png", + "name": "Whatsapp Business", + "description": "WhatsApp Messenger: More than 2 billion people in over 180 countries use WhatsApp to stay in touch with friends and family, anytime and anywhere. WhatsApp is free and offers simple, secure, reliable messaging and calling, available on phones all over the world.", + "url": "https://web.whatsapp.com/", + "type": "messaging", + "allow_popups": false, + "manual_notifications": false, + "js_unread": "function checkUnread(){const e=document.querySelectorAll(\"#pane-side ._31gEB, .unread\");let t=0;for(let n=0;n=1?rambox.setUnreadCount(e):rambox.clearUnreadCount()}setInterval(checkUnread,3e3),(async()=>{try{const e=await window.navigator.serviceWorker.getRegistrations();for(const t of e)t.unregister()}catch(e){}})();var titleEl=document.querySelector(\".landing-title.version-title\");titleEl&&titleEl.innerHTML.includes(\"Google Chrome 49+\")&&window.location.reload(),document.body.scrollTop=0;", + "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36", + "note": "", + "titleBlink": false, + "custom_domain": false + }, { "id": "wire", "logo": "wire.png",