jQuery - getting final URL after all redirects
<p>I'm trying to get the final URL after all redirects happen. There are a few situations I'm trying to resolve:</p>

<p>1) no redirect (trivial)
2) 302 redirect
3) JS injected redirect. Page loads, waits for 2 seconds and then redirects.
4) combination of 2 and 3</p>

<p>I'm thinking that opening up a child window and waiting for a few seconds for all redirects to come through, but I'm not quite sure how to do this with jQuery.</p>

<p>Any ideas or suggestions on a different approach?</p>
