1
Would you like to make a template equal to that of the free ratchet site. How could you do this? It consists of when the mouse leaves the page appear a alert
wondering if the user really wants to leave the page. What javascript event does that someone knows ?
you can send the URL to demonstrate the desired behavior?
– Romulo
https://catracalivre.com.br/curitiba/agenda/barato/fernando-meirelles-debate-os-novos-rumos-do-cinema-no-teatro-bom-jesus/
– Leonardo Costa
There is no such event. The algorithm used on this site is very well worked, as far as I could see he considers scroll page, permanence time and mouse tracking, the solution is to do reverse engineering. Note: this is not a
alert()
, but rather a modal (example)– Pedro Sanção