IE7にて、new ActiveXObject('htmlfile')で作成したHTMLDocumentに、<iframe src="~#アンカー名"></iframe>のように、srcにアンカー付きのURIを指定したIFRAME要素を書込むと、何故かブラウザのタブが一杯開いて収集がつかなくなる、という訳のわからない現象に遭遇してしまい、悩んでいます。 具体的には、下記のようなコードで再現します。 var htmlfile=new ActiveXObject('htmlfile'); htmlfile.open('text/html'); htmlfile.write('<iframe src="https://furyu.tea-nifty.com/annex/2008/03/autopagerlike_s_56ec.html#comments"><\/iframe>'); htmlfi
![【JScript】ActiveXObject('htmlfile')で発生する不具合](https://cdn-ak-scissors.b.st-hatena.com/image/square/159b30b7a05d04afec950abd67da68c4e60f7c1b/height=288;version=1;width=512/https%3A%2F%2Ffuryu.tea-nifty.com%2Fimage%2Fkaze2_120x120.png)