For certain URLs (e. g. http://www.nyest.hu/iframe/240/10 ), IE8 (and older) never stops loading with the following error message: SCRIPT123: This command is not supported.
The error line number points to a document.write
command. IE9 and other browser load the page without problems.
相关问题
- Is there a limit to how many levels you can nest i
- How to toggle on Order in ReactJS
- How to fix IE ClearType + jQuery opacity problem i
- void before promise syntax
- Keeping track of variable instances
Apparently this is because the page is served as XML, and there is no
document.write
in an XML document. Other browsers throw some sort of error at thedocument.write
command too, but they handle the error better and do finish loading the page.