In general, the essence is this, the site keeps logs, js determines the screen resolution and sends it to the handler in php, which logs all user data.
<script type="text/javascript"> $(function() { $.post('/log.php', { width: screen.width, height:screen.height }, function(json) { if(json.outcome == 'success') { // запрос прошёл успешно } },'json'); }); but if user js is disabled?
How can you get a php variable with a screen resolution (if js is turned on, of course) for one page load and send it right away, and if js is disabled, then send it without screen resolution?
In my version, everything works only when js is enabled ((
Why do you need it?
Someone clicks on advertising in Yandex, Yandex considers some clicks to be invalid, and some pass. Blocking by ip is not an option, because This ip provider is dynamic, and you can block the wrong one, so you need a maximum of data in order to enter it into the list of excluded ones in time, i.e. change ip