In situations such as this, the only real escape from the loop is to close the browser – this might have some impact on your work, as well as the performance of your computer, so avoiding such loops is vital.
(Screenshot by author)
When the web page reaches the second script and has to refer back to another, this is when the loop can occur. This might manifest in various ways but the general effect is that the browser window will become unusable, possibly with a "(Not Responding)" message across the top.
So how do you prevent this from occurring? The trick obviously would be to not visit such a web page, although if you knew what was on the page before visiting then you wouldn’t bother to click the link…
Exiting a Frozen Internet Explorer Window
There are two ways you can exit Internet Explorer if it appears to have frozen. The first is to go to the X symbol in the top right-hand corner and click this. If it doesn’t respond, find Internet Explorer in the Windows taskbar, right-click and select Close window.
If this fails, press CTRL+ALT+DEL (or right-click the Windows taskbar) and select Start Task Manager. Internet Explorer should be listed in the Applications tab, and all you need to do here is select the application with a left-click and then use the End Process button to close the browser. This may take a little time to complete.
Why Modern Browsers Avoid the Issue
For instance if a web page is running a script that is taking too long to respond, Internet Explorer will advise you of this fact, and give you to option to stop the processing of the script.
Author's own experience