Nice little code chunk, saving to my code bases :) Yes, pop-up blockers are a pain, but we have instructed all of our users to add the base 'domain name' of the company into the pop-up-blocker "allowed" list.
Fortunately, there are other applications (like our expense entry system) which have this same issue as well. Thanks-n-advance; HDT Platform Incident / Problem Manager & Architect Robert Molenda IT OS PA Tel: +1 408 501 6310 Fax: +1 408 501 2410 Mobile: +1 408 472 8097 [EMAIL PROTECTED] Quality begins with your actions. -----Original Message----- From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Dan Hardy Sent: Thursday, November 30, 2006 1:03 PM To: [email protected] Subject: Re: Popup Blockers 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" _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers Are"

