Click to See Complete Forum and Search --> : check to see if popups are disabled


aeb321
05-05-2003, 02:16 PM
My website utilizes popups for useful purposes rather than just advertising. I want my visitors who have popups disabled to be aware that they do and have an opportunity to enable them to browse my site. I am aware that you can run a script to see if Java is enabled on the browser, but this does not catch popup 'killing' software the user may also have installed on their computer. Does anybody know of a way that I can find out if the user is blocking popups regardless of the way it is being done? Possibly by attempting to create a popup that sends a value back to the parent? If anyone could point me in the right direction, it would be fantastic. Thank you!!

-andrew

Jona
05-05-2003, 02:20 PM
That is beyond the scope of Javascript. Possibly ActiveX (and a lot of it) could detect what program is open, but it's not worth the effort really. You can, however, use alernative "popups." Example, make a script that opens a draggable IFrame or something like that.

Vladdy
05-05-2003, 02:24 PM
There are no usefull purposes for popups. Anything you use them for can be better done without them. It is easier to design without them than try to plan for every popup blocking tool possible.

Charles
05-05-2003, 02:46 PM
Or better yet, simply impliment them in such a way that the site works as well without them as with them.

<a href="http://www.w3.org/" onclick="window.open(this.href, 'child'); return false">W3C</a>

Vladdy
05-05-2003, 02:51 PM
If you implement your site so that it works without them, why bother adding them at all :confused: :confused: