{"id":29,"date":"2019-01-10T07:54:54","date_gmt":"2019-01-10T07:54:54","guid":{"rendered":"http:\/\/blog.corvin.su\/?p=29"},"modified":"2019-01-10T08:01:17","modified_gmt":"2019-01-10T08:01:17","slug":"%d1%80%d0%b5%d0%bc%d0%be%d0%bd%d1%82-whatsapp-works-with-google-chrome-36","status":"publish","type":"post","link":"https:\/\/blog.corvin.su\/?p=29","title":{"rendered":"\u0420\u0435\u043c\u043e\u043d\u0442 WhatsApp works with Google Chrome 36+"},"content":{"rendered":"<p>\u0414\u0430\u043d\u043d\u044b\u0439 \u0444\u0438\u043a\u0441 \u043d\u0430\u0439\u0434\u0435\u043d \u043d\u0430\u00a0<a href=\"https:\/\/community.linuxmint.com\/software\/view\/whatsapp-desktop\" rel=\"nofollow\">https:\/\/community.linuxmint.com\/software\/view\/whatsapp-desktop<\/a><br \/>\nTo get it working again we must go to &#171;\/opt\/whatsapp-desktop\/resources\/app&#187; and edit the file &#171;main.js&#187; as root and look for the line that says:<!--more--><\/p>\n<pre>whatsApp.window.loadURL('<a href=\"https:\/\/web.whatsapp.com\/\" rel=\"nofollow\">https:\/\/web.whatsapp.com<\/a>');<\/pre>\n<p>\u0412\u044b\u0448\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c:<\/p>\n<pre>whatsApp.window.webContents.setUserAgent(\"Mozilla\/5.0 (X11; Linux x86_64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/71.0.3578.98 Safari\/537.36\");<\/pre>\n<p>And we save the file Then we go to &#171;\/home\/myuser\/.config\/whatsapp-desktop\/Service Worker&#187; directory and empty it completely. Close Wathsapp application if we have it open and open a super user console and execute the command:<\/p>\n<pre>chmod -w \/home\/myuser\/.config\/whatsapp-desktop\/Service Worker\/ -R<\/pre>\n<p>with the application closed and the directory empty. Start Whatsapp desktop and pair again. I hope it serves you. Sorry for my English. I use a translator<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0414\u0430\u043d\u043d\u044b\u0439 \u0444\u0438\u043a\u0441 \u043d\u0430\u0439\u0434\u0435\u043d \u043d\u0430\u00a0https:\/\/community.linuxmint.com\/software\/view\/whatsapp-desktop To get it working again we must go to &#171;\/opt\/whatsapp-desktop\/resources\/app&#187; and edit the file &#171;main.js&#187; as root and look for the line that says:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"aside","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-29","post","type-post","status-publish","format-aside","hentry","category-whatsapp","post_format-post-format-aside"],"_links":{"self":[{"href":"https:\/\/blog.corvin.su\/index.php?rest_route=\/wp\/v2\/posts\/29","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.corvin.su\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.corvin.su\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.corvin.su\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.corvin.su\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=29"}],"version-history":[{"count":2,"href":"https:\/\/blog.corvin.su\/index.php?rest_route=\/wp\/v2\/posts\/29\/revisions"}],"predecessor-version":[{"id":35,"href":"https:\/\/blog.corvin.su\/index.php?rest_route=\/wp\/v2\/posts\/29\/revisions\/35"}],"wp:attachment":[{"href":"https:\/\/blog.corvin.su\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=29"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.corvin.su\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=29"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.corvin.su\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=29"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}