Browse Source

WhatsApp: Use a different user-agent because they're being stupid.

pull/3202/head
TheGoddessInari 6 years ago
parent
commit
347e05b4ce
No known key found for this signature in database
GPG Key ID: 1209B1B7632D69A
  1. 1
      app/store/ServicesList.js

1
app/store/ServicesList.js

@ -29,6 +29,7 @@ Ext.define('Rambox.store.ServicesList', {
,url: 'https://web.whatsapp.com/'
,type: 'messaging'
,js_unread: `let checkUnread=()=>{const elements=document.querySelectorAll(".CxUIE, .unread");let count=0;for(let i of elements)0===i.querySelectorAll('*[data-icon="muted"]').length&&count++;rambox.updateBadge(count)};setInterval(checkUnread,1e3);`
,useragent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36'
,slowed_timers: false
},
{

Loading…
Cancel
Save