I am trying to get a hold of a URL that another URL redirects to.
For instance, I go to http://www.example.com/redirect. Now this page redirects me to http://www.some-other-domain.com/?language=english.
How do I get the http://www.some-other-domain.com/?language=english URL using Javascript, only knowing the http://www.example.com/redirect URL?