Catch event before redirect to external url
I mean that when client click any link on my site and those links are Redirected to external url( not to open new window/tab ).
My purpose: Handling something after clicking.(before going to other url) such as: call api or handle something
note: I dont want to use beforeunload or alert or confirm
Please help me, Thank you.!!
from Recent Questions - Stack Overflow https://ift.tt/2HNCF44
https://ift.tt/eA8V8J
Comments
Post a Comment