Many banner add networks redirect visitors to another website.
In my app I need to create a history manually for various technical reasons.
These redirects are ending up in my history. How can I detect the final Url that a page redirects to and then just put that Url in my history.
One option would be to wait for the page to load first before adding it to history, but these days there are so many 3rd party scripts on pages that some of them are not finished loading before the visitor has moved on to the next page. So I think this needs to be done in the _OverrideUrl event.
Any suggestions?
In my app I need to create a history manually for various technical reasons.
These redirects are ending up in my history. How can I detect the final Url that a page redirects to and then just put that Url in my history.
One option would be to wait for the page to load first before adding it to history, but these days there are so many 3rd party scripts on pages that some of them are not finished loading before the visitor has moved on to the next page. So I think this needs to be done in the _OverrideUrl event.
Any suggestions?