PDA

View Full Version : Auto Minimize and Maximize of IE - Please Help



me_myself
09-29-2008, 04:12 PM
I am looking for a script that should auto-minimize (bringing the browser - IE 6+ to the taskbar) if there is no activity for 20mins and the auto-maximize (opening the browser) after a second.

I need this to solve an IE memory issue - which occurs when our website (vehicle tracking) is kept open for long periods.

Please Help.

Thanks in advance.

jscheuer1
09-29-2008, 04:46 PM
I don't think there is anything for that specifically that wouldn't be blocked by a well configured IE (one set to safeguard against Active X attacks, which all IE should be, and all recent and well maintained IE are by default). You could refresh the page if that helps, or - and I would favor this on general principal - have the page go to an inactivity page, let users return to the active page themselves, when and if they regain interest in it.

The focus and blur properties of the window may be manipulated as well if that would help.

But the best solution would be to eliminate the memory problem in the first place. What causes it?

me_myself
09-29-2008, 04:55 PM
Thanks for the post.

I cannot redirect the screen to an inactive page since the application (vehicle tracking) is usually launched in huge screens and are always running for the company to see where their vehicles are right now.

Reason that causes the IE (that's the browser our application works) memory issue is because the screen is kept open for a long period and constant js updates (grid and vehicle icon refreshes) on the screen.

Ref:
http://msdn2.microsoft.com/en-us/library/bb250448.aspx

We have found that by minimizing the screen, the memory gets back to normal. If there could be a way to minimize the browser (IE 6+) and bring it back to view within a second - that would release the memory and would be a good solution :(