IFrameHttpRequestのpatch
IFrameHttpRequestのpatch
http://coderepos.org/share/browser/lang/javascript/IFrameHttpRequest
を使おうかと思ったらOperaで動かなかったのでpatch*1。
Index: IFrameHttpRequest.js =================================================================== --- IFrameHttpRequest.js (リビジョン 8257) +++ IFrameHttpRequest.js (作業コピー) @@ -58,7 +58,7 @@ }, 100); } } - if (!document.all) { + if (typeof self.iframe.readyState == 'undefined') { self.iframe.readyState = 'complete'; self.iframe.onreadystatechange(); }
あれ、非同期では動かないのか……*2。