You can detect whether popup blockers are enabled using javascript.
The test code can attempt to create an off-screen popup window and then close
it, and if an exception is thrown it failed because of a popup blocker.
The test would be something like the code below, which you would run in the
onload() handler of a page body. You can put this on a login page or some
other page that first-time users go to.
try {
var top = 0;
var left = screen.width;
var testWin =
window.open('PopupTest.jsp','PopupTest','width=1,height=1,left=' + left +
',top=' + top +
',scrollbars=no,toolbar=no,menubars=no,location=no,status=no,titlebar=no');
var testWinName = testWin.name;
testWin.close();
} catch (e) {
window.focus();
alert("Popup blockers must be disabled to use this
application.");
}
}
It would be nice if Remedy did this for you. It's not uncommon for users to
have 2 or even 3 popup blockers installed these days.
Regards,
Dan
-----Original Message-----
From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED]
On Behalf Of Christopher Blue
Sent: Thursday, November 30, 2006 11:24 AM
To: [email protected]
Subject: Popup Blockers
Hello list -
I am getting an increasing number of complaints that mid tier
applications aren't working and the problem is popup blockers. The
Yahoo toolbar in particular seems to block either dialog boxes or
error messages.
Is there any way to detect the use of a popup blocker and instruct the
user to disable it? Or a way to write the workflow that it won't be
affected?
Everyone uses IE6.
Thanks!
ENV
ARS 6.3 on WIN2K
Oracle 9.2.0.6
Mid Tier 6.3 on Apache 1.3.34
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the
Answers Are"
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the
Answers Are"