R
R
Roman Olegovich2016-02-16 11:55:47
JavaScript
Roman Olegovich, 2016-02-16 11:55:47

How to determine that a page is being viewed by Yandex WebVisor?

Unfortunately, I can’t find the answer in the search, maybe I’m asking the wrong way ....
On my page, the form is sent via Ajax. The fields are validated before being sent.
Some fields of this form have a "mask" (jquery.inputmask.js) and accordingly will not be filled when viewing the page through the Webvisor.
I want to disable JS validation while browsing through the webvisor... but I can't find a sign by which I can determine that the page is currently loaded through the webvisor.
Anyone have any ideas?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita, 2016-02-16
@dbmb

The webvisor simply records the user's mouse movement and what he clicks on the keyboard. What you are looking at is not a full page, but its cache. If you need to see what they enter through the webview, disable the mask altogether.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question