I need a javascript on a page that could catch an event whenever i click something and that click could lead to redirect, open in a new window, etc.
As links sometimes are not directly open a new window, they call a javascript function (window.open, document.location.href). Is it possible that I can catch them and edit the url.
Thanks.