Answer the question
In order to leave comments, you need to log in
Is it possible to prevent the browser from sending information about losing focus on a tab?
Is it possible to prevent the browser via js from sending information about losing focus on a tab? This refers to events like window.onblur, which occur when the focus is lost on the window and using Ajax, Jquery send information to the server side. Specifically, you need to prevent the collection of information using this jsnlog.com library. Is it possible to selectively disable the firing of such events on the page?
Answer the question
In order to leave comments, you need to log in
What is the purpose of the "off"?
The simplest thing is to register on the local machine in hosts "127.0.0.1 jsnlog.com" and let it send to health.
Either use browser plug-ins to cut all listeners of the onblur event.
Or, if the site is your own, in JS, register a cyclic check of listeners on obnblur and cut them.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question