As browser features click the user from the imitation game?

Suppose there is a button to turn pages in full screen.
When you click the user page is set to full screen, and when simulating clicks (for example through a timeout), the browser blocks this action.
June 14th 19 at 18:05
3 answers
June 14th 19 at 18:07
Solution
Found the answer

It is the property of the object Event - isTrusted
https://developer.mozilla.org/ru/docs/Web/API/Even...

Thank you
June 14th 19 at 18:09
Could be wrong, but click on the button razvorachivaet to full screen happens in Windows on the browser window, outside the active area of the screen which can run JavaScript
June 14th 19 at 18:11
$('.button').trigger('click'); // and analogues
This is not a simulated click, the browser/js is not able to simulate clicks no.

Normal version cause that should trigger click ie end function.
Or you can use a normal browser, and are made to simulate.

Find more questions by tags BrowsersHTMLJavaScript