| HOME NEWS TESTIMONIALS CONTACT | |
|
OWA FOR PDA OWA FOR WAP BUY ONLINE DOWNLOADS |
|
|
Microsoft Outlook Web Access 2003 - Close The Browser Window Immediately When Logging Off
In OWA 2003, when you click the Log Off button, you will normally see a warning telling you that 'The web page you are viewing is trying to close the window - Do you want to close this window?'. Of course, you want to bypass this, and just close the browser window as soon as you click the Log Off button. There is a way to make that happen. First, look for the logoff.asp file in the C:\Program Files\Exchsrvr\exchweb\bin\usa folder (it may be in a different folder if en-us is not your primary language). Make a copy of it (important if something goes wrong), and then open it in Notepad. Look for the window.onload() function. It should look like this:
function window.onload()
{
try
Insert some code so into it that it looks like this:
function window.onload()
{
window.opener='Self';
window.open('','_parent','');
window.close();
try
Save the file back, and you should find that the IE window
now closes as soon as you click on Log Off.
Note:
function window.onload()
{
window.opener='x';
window.close();
try
IE8 is a bit cleverer,
but can still be tricked into closing the window.
As with most of these type of modifications, you will need to check that they still function after each product update. Sometimes your modified file will be replaced by a new one from the update.
|
| Copyright © 2003 - 2010 Lee Derbyshire. All rights reserved. | |