??? where is all the stuff you talked about?
Where is the 10 second delay, for example?
And you say the last URL is "a script on my site that does an action." But you don't say what action that is and/or show the contents of that last URL.
Not clear why you need the last URL to do what it is doing. Why not just put the equivalent code right in this page, triggered when "Continue" is clicked but there are no more URLs to show?
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.