📜 ⬆️ ⬇️

Community Messages and Webweek from Yandex

Good afternoon, dear user! Not so long ago, VKontakte announced the Community Messages service. And the first rakes and crutches to work with him, or rather, how to look at your site through the eyes of a visitor, have already appeared. You run Yandex.Webviewer. And there:

image

A simple solution to the problem under the cut.

Yandex found the solution in the help of the WebVizor - Record the contents of the pages :

if (/^(.*\.)?mtproxy\.yandex\.net$/.test(document.domain)) { /*   */ } else { VK.Widgets.CommunityMessages("vk_community_messages", /* ID- */, {}); }; 

Posted at 9:30 PM: Why not just hide this widget and everything? Why such a stub in the middle of the screen?
')
PS I hope dear companies will solve a mutual bug.

PPS Obviously for users' questions, tried to check the VC on the insertion of the allowed domain in the settings * .yandex.net - does not help.

PPPS This bug was found by chance on one of the developed sites - the customer who likes to watch WebVizor. I had to massively register this decision on several sites.

Source: https://habr.com/ru/post/310030/


All Articles