I couldn't get your jsfiddle code to work but you could try this, var blaj = this.iframe.contentDocumentĀ || this.iframe.contentWindow.document; blaj.scrollTo..... I think this is the difference between FF/Chrome and IE.
Still don't understand what you are trying to achieve with the while loop. To me it looks like busy-waiting which should be avoided.
