The webpage contains multiple hyperlinks.
I want to monitor user clicks on these links.
Whenever a user clicks on a link, an Ajax request is sent to my server for processing. The server then returns relevant data, which is further processed on the client side and used for statistical purposes.
All of this request handling and data processing takes a certain amount of time.
My practical question is: what is the expected duration for the browser to complete all these actions? Is there a time limit?
Currently, I have two options:
When a link is clicked, use JavaScript to return false, perform necessary functions, and then open the new window.
This approach helps to prevent browser delay issues.