what should I do to edit the DOM before that the page is shown?

Add-in Express™ Support Service
That's what is more important than anything else

what should I do to edit the DOM before that the page is shown?
Manipulating DOM before page is rendered 
Alistair Swanson




Posts: 13
Joined: 2009-08-19
There was a previous topic in this forum a few months ago that interested me, about how to manipulate the DOM before a page gets rendered.

It finished with no resolution.

I've been trying to implement something similar with the main problem being removing a slight flicker as the initial page renders and then gets changed.

I've managed to remove this flicker by increasing
Me.HTMLDocument.parentWindow.screen.updateInterval
on the IEModule_NavigateComplete2 event to create a delay before IE renders the page. (and the theory is that I will remove the delay once I'm sure all manipulation of the DOM is done).

Before I implement this could you advise if there are any other alternatives?
Posted 27 Aug, 2009 07:17:35 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Alistair,

Nope. You are on the right way. I don't know another way.
.NET, Extended MAPI, Windows Phone & RT
Posted 27 Aug, 2009 07:56:43 Top
Alistair Swanson




Posts: 13
Joined: 2009-08-19
Thanks.
Posted 27 Aug, 2009 08:18:41 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
You are welcome, Alistair.
.NET, Extended MAPI, Windows Phone & RT
Posted 27 Aug, 2009 08:38:14 Top