Popup Blocker Detection

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Raffi

    Popup Blocker Detection

    Hi,

    We have a database application that runs in a popup Internet Explorer
    application window. The reason for this is to isolate the casual user
    from the address bar and the typical IE navigation buttons.

    The application has a browser test page that displays an error message
    when a popup blocker is found and opens a popup page stating the test
    was successfull if there is no popup blocker.

    Is there a reliable method (preferably javascript) for detecting the
    major popup blockers (SP2, AOL, Yahoo, Google, MSN, etc.)? We currently
    have a temporary solution in place which works OK but we would like to
    have a better solution.

    We have already reasearched this on the net, as well as spent a few
    hours trying different options.

    The application is designed to run on MSIE only so the solution can be
    Explorer specific.

    Thanks,
    Raffi

  • Greg N.

    #2
    Re: Popup Blocker Detection

    Raffi wrote:
    [color=blue]
    > We have a database application that runs in a popup Internet Explorer
    > application window. The reason for this is to isolate the casual user
    > from the address bar and the typical IE navigation buttons.[/color]

    God, do I hate that. Can't stop loading the frickin page, can't reload
    it, can't go back, can't easily see the URL, nothing. So much about
    reasons not to like pops like that. Can anybody come up with a
    plausible reason why this kind of uncontrollable pops are a good idea
    for some users?
    [color=blue]
    > Is there a reliable method (preferably javascript) for detecting the
    > major popup blockers (SP2, AOL, Yahoo, Google, MSN, etc.)[/color]

    Loks to me like somebody working on state of the art intrusive
    advertising technology is asking user community for help. I may be
    wrong, so please tell us what kind of app this really is.
    [color=blue]
    > The application is designed to run on MSIE only so the solution can be
    > Explorer specific.[/color]

    Sure. Reaching 70% of the users is good enough in only one environment:
    Advertising. Please tell me I'm wrong.

    Comment

    • Raffi

      #3
      Re: Popup Blocker Detection


      Greg N. wrote:[color=blue]
      > Raffi wrote:
      >[color=green]
      > > We have a database application that runs in a popup Internet[/color][/color]
      Explorer[color=blue][color=green]
      > > application window. The reason for this is to isolate the casual[/color][/color]
      user[color=blue][color=green]
      > > from the address bar and the typical IE navigation buttons.[/color]
      >
      > God, do I hate that. Can't stop loading the frickin page, can't[/color]
      reload[color=blue]
      > it, can't go back, can't easily see the URL, nothing. So much about
      > reasons not to like pops like that. Can anybody come up with a
      > plausible reason why this kind of uncontrollable pops are a good idea[/color]
      [color=blue]
      > for some users?
      >[color=green]
      > > Is there a reliable method (preferably javascript) for detecting[/color][/color]
      the[color=blue][color=green]
      > > major popup blockers (SP2, AOL, Yahoo, Google, MSN, etc.)[/color]
      >
      > Loks to me like somebody working on state of the art intrusive
      > advertising technology is asking user community for help. I may be
      > wrong, so please tell us what kind of app this really is.
      >[color=green]
      > > The application is designed to run on MSIE only so the solution can[/color][/color]
      be[color=blue][color=green]
      > > Explorer specific.[/color]
      >
      > Sure. Reaching 70% of the users is good enough in only one[/color]
      environment:[color=blue]
      > Advertising. Please tell me I'm wrong.[/color]


      Well, you're wrong. But considering the amount of crap on the internet,
      I don't really blame you. The application is a web based database and
      data analysis program which is used by a non computer savvy audience.
      We designed it to be simple and for the user to navigate through the
      application using the navigation buttons integrated in the
      appliacation. Also, the program launches reports using popups to keep
      the main session screen intact. That should be enough information to
      dispell any ill intent.

      BTW, I'm a strong believer of popup blockers. I have 2 of them on my
      PC. Popups when used properly are a great tool. Sadly though,
      legitimate applications that use popups have become more cumbersome to
      implement because of their misuse.

      Raffi

      Comment

      • Mark Preston

        #4
        Re: Popup Blocker Detection

        Raffi wrote:
        [color=blue]
        > Greg N. wrote:
        >[color=green]
        >> Raffi wrote:
        >>
        >> [snip] So much about reasons not to like pops like that. Can
        >> anybody come up with a plausible reason why this kind of
        >> uncontrollable pops are a good idea for some users?[/color]
        >[/color]
        As a pop-up, no. As an application, sure.[color=blue]
        >[color=green][color=darkred]
        >>> Is there a reliable method (preferably javascript) for detecting
        >>> major popup blockers (SP2, AOL, Yahoo, Google, MSN, etc.)[/color]
        >>
        >> Loks to me like somebody working on state of the art intrusive
        >> advertising technology is asking user community for help. I may be
        >> wrong, so please tell us what kind of app this really is.
        >>[color=darkred]
        >>> [snip][/color][/color]
        >
        > [snip] The application is a web based database and data analysis
        > program which is used by a non computer savvy audience. We designed
        > it to be simple and for the user to navigate through the application
        > using the navigation buttons integrated in the appliacation. Also,
        > the program launches reports using popups to keep the main session
        > screen intact. That should be enough information to dispell any ill
        > intent.
        >[/color]
        I have to be honest and admit that I can see no reason whatsoever for it
        now. If you need web-rendering, but not a browser, and you are writing
        it for an application then why the hell not actually WRITE an application?

        Surely it is a lot easier just to drop an HTML control into a simple
        application rather than all this buggering around with a (relatively)
        standard browser?

        Comment

        • kaeli

          #5
          Re: Popup Blocker Detection

          In article <1114588592.799 524.177690@z14g 2000cwz.googleg roups.com>,
          thegrizzzly@yah oo.com enlightened us with...[color=blue][color=green]
          > >[color=darkred]
          > > > Is there a reliable method (preferably javascript) for detecting[/color][/color]
          > the[color=green][color=darkred]
          > > > major popup blockers (SP2, AOL, Yahoo, Google, MSN, etc.)[/color]
          > >[/color][/color]

          No. If there were, don't you think all the baddies would have found it by
          now? ;)

          And even if there really were, do you think we'd post it here, were anyone
          wanting to abuse it could find it?
          Your intentions might be perfectly benign, but any idiot can read these
          public newsgroups.

          Do what everyone else with a legit need for popups does -- put a message
          there telling your users that your site uses popups and to put it in their
          allow list or whatever.
          Also, most blockers block *unrequested* popups. So if the user really IS
          clicking on something and it pops a new window, that shouldn't be blocked
          anyway.

          --
          --
          ~kaeli~
          God was my co-pilot... but then we crashed in the mountains
          and I had to eat him.



          Comment

          • J Wynia

            #6
            Re: Popup Blocker Detection

            Mark Preston wrote:[color=blue]
            > I have to be honest and admit that I can see no reason whatsoever for it
            > now. If you need web-rendering, but not a browser, and you are writing
            > it for an application then why the hell not actually WRITE an application?
            >
            > Surely it is a lot easier just to drop an HTML control into a simple
            > application rather than all this buggering around with a (relatively)
            > standard browser?[/color]

            There are lots of reasons that applications are being implemented as web
            applications and, believe it or not, they're legitimate reasons. I know,
            I know, *you've* never seen the reasons, but I'm pretty sure you haven't
            faced every software problem in existence (though I've been wrong before).

            Yours is a typical reaction in web development discussions when someone
            asks how to do something restrictive or authoritarian: an assumption
            that we're talking about a web "site" that is publicly available and
            fits your idea of a "site". The thing is, there's an AWFUL lot of web
            work that is done outside of that scope. Over the last 5 years, well
            over 85% of the web development I've done and participated in
            development is behind the firewall. We're talking about projects costing
            over $3 million and used by 10's of thousands of users, all of whom work
            for the same company. Is that a lot of money for a web application?
            Absolutely. In several of those cases, did the previous non-web
            application (the one you insist must be easier to build) cost $5-6
            million in total costs for similar effort? Yes, again.

            When you're talking about deploying a critical piece of software that
            was already needing the client/server model, the web is often much
            cheaper than the alternative. You can standardize the clients/browsers
            and deploy bugfixes, enhancements and upgrades to all machines by simply
            upgrading the web app on the web server. You don't need to fight with
            pushing out software upgrades across the world or FedEx'ing CD-ROM's all
            over the place. You also don't need to worry about users cancelling the
            upgrade (to bypass the interruption) and continuing to use an old
            client. You can also control the machine where the application itself is
            installed, since it's entirely on the server. There's no trying to
            figure out why a certain desktop won't let the app install only to find
            out some stupid screensaver they added has messed up their registry. The
            cycle for making changes in response to the users' feedback is also
            drastically improved. Couple that with roaming users who use the same
            application across multiple machines and maintaining consistency and
            you've got just a few of the major reasons why something that would be
            an irritating faux pas on the web at large (popups used for advertising)
            turn into a much appreciated feature (new windows used as modal dialogs
            for an application) in a different setting.

            Here in reality, deployment, support, etc. often cost more than the
            developer time to build the application in the first place.

            In my current application, we use new windows as a destination for Excel
            exports. Users specifically requested the functionality to enable them
            to have several exported reports open simultaneously to do comparisons
            before deciding exactly which report to finally export and save. For the
            most part, this didn't cause problems because 90% of the users of this
            application are using locked down machines in common areas. However, the
            remaining 10% are using their work desktop machine and several have
            installed additional popup blockers, resulting in complaints.

            In this case, this is a very small drop in the bucket (as are most of
            these types of issues) that would just be nice to solve with a quick bit
            of JS (a 20 minute solution, costing the project very little).

            Comment

            • Mr.Clean

              #7
              Re: Popup Blocker Detection

              In article <Xv2dndSUd6iWPP LfRVn-2Q@speakeasy.ne t>, jwynia@speakeas y.net says...[color=blue]
              > However, the
              > remaining 10% are using their work desktop machine and several have
              > installed additional popup blockers, resulting in complaints.
              >
              >[/color]

              Most popup blockers have settting where you can ALLOW popups from specific
              domains, have you tried notifying your users to modify those settings?

              Comment

              • kaeli

                #8
                Re: Popup Blocker Detection

                In article <d4o1am$p17$1$8 300dec7@news.de mon.co.uk>, usenet@nosource .co.uk
                enlightened us with...[color=blue][color=green][color=darkred]
                >> >[/color][/color]
                > I have to be honest and admit that I can see no reason whatsoever for it
                > now. If you need web-rendering, but not a browser, and you are writing
                > it for an application then why the hell not actually WRITE an application?
                >[/color]

                Off the top of my head...
                * Banking applications.
                * Intranet applications with multiple OSs in use (no installation necessary)
                -- this was the reason my biggest web app came to be.
                * Intranet applications with multiple OS versions in use (same).
                * CD-ROM applications.
                * Financial / trading applications.
                * B2B applications

                All of those do very well as web applications and not so well as installed
                applications. Not to mention the ease of patching web applications. Plus,
                using SSL and other technologies to ensure the security and privacy of data
                sent between the client and the server is, IMO, much easier to do than trying
                to run encryption algorithms and protect ports on multiple PCs where you
                don't know who has what else installed. I'm no security expert by any means,
                though, so take that last bit with a grain of newbie-ness.
                [color=blue]
                > Surely it is a lot easier just to drop an HTML control into a simple
                > application rather than all this buggering around with a (relatively)
                > standard browser?[/color]

                You don't code installed applications, do you? ;)
                I've had to a couple times.
                I promise you that it isn't as easy as just dropping a control onto a form
                and thinking it will work for every person who tries to use the application,
                whether they have windows 95 or windows 2000 professional SPx. Or, $diety
                forbid, you're stuck with users who have windows, users who have macs, and
                users who have solaris. Like we do here.
                Not to mention the fact that only certain development technologies even HAVE
                a browser component (mostly I'm thinking .net). You don't want to try to
                write a rendering engine yourself, with a JS interpreter and all, do you?

                --
                --
                ~kaeli~
                A little rudeness and disrespect can elevate a meaningless
                interaction to a battle of wills and add drama to an
                otherwise dull day.



                Comment

                • Raffi

                  #9
                  Re: Popup Blocker Detection

                  kaeli wrote:[color=blue]
                  > In article <d4o1am$p17$1$8 300dec7@news.de mon.co.uk>,[/color]
                  usenet@nosource .co.uk[color=blue]
                  > enlightened us with...[color=green][color=darkred]
                  > >> >[/color]
                  > > I have to be honest and admit that I can see no reason whatsoever[/color][/color]
                  for it[color=blue][color=green]
                  > > now. If you need web-rendering, but not a browser, and you are[/color][/color]
                  writing[color=blue][color=green]
                  > > it for an application then why the hell not actually WRITE an[/color][/color]
                  application?[color=blue][color=green]
                  > >[/color]
                  >
                  > Off the top of my head...
                  > * Banking applications.
                  > * Intranet applications with multiple OSs in use (no installation[/color]
                  necessary)[color=blue]
                  > -- this was the reason my biggest web app came to be.
                  > * Intranet applications with multiple OS versions in use (same).
                  > * CD-ROM applications.
                  > * Financial / trading applications.
                  > * B2B applications
                  >
                  > All of those do very well as web applications and not so well as[/color]
                  installed[color=blue]
                  > applications. Not to mention the ease of patching web applications.[/color]
                  Plus,[color=blue]
                  > using SSL and other technologies to ensure the security and privacy[/color]
                  of data[color=blue]
                  > sent between the client and the server is, IMO, much easier to do[/color]
                  than trying[color=blue]
                  > to run encryption algorithms and protect ports on multiple PCs where[/color]
                  you[color=blue]
                  > don't know who has what else installed. I'm no security expert by any[/color]
                  means,[color=blue]
                  > though, so take that last bit with a grain of newbie-ness.
                  >[color=green]
                  > > Surely it is a lot easier just to drop an HTML control into a[/color][/color]
                  simple[color=blue][color=green]
                  > > application rather than all this buggering around with a[/color][/color]
                  (relatively)[color=blue][color=green]
                  > > standard browser?[/color]
                  >
                  > You don't code installed applications, do you? ;)
                  > I've had to a couple times.
                  > I promise you that it isn't as easy as just dropping a control onto a[/color]
                  form[color=blue]
                  > and thinking it will work for every person who tries to use the[/color]
                  application,[color=blue]
                  > whether they have windows 95 or windows 2000 professional SPx. Or,[/color]
                  $diety[color=blue]
                  > forbid, you're stuck with users who have windows, users who have[/color]
                  macs, and[color=blue]
                  > users who have solaris. Like we do here.
                  > Not to mention the fact that only certain development technologies[/color]
                  even HAVE[color=blue]
                  > a browser component (mostly I'm thinking .net). You don't want to try[/color]
                  to[color=blue]
                  > write a rendering engine yourself, with a JS interpreter and all, do[/color]
                  you?[color=blue]
                  >
                  > --
                  > --
                  > ~kaeli~
                  > A little rudeness and disrespect can elevate a meaningless
                  > interaction to a battle of wills and add drama to an
                  > otherwise dull day.
                  > http://www.ipwebdesign.net/wildAtHeart
                  > http://www.ipwebdesign.net/kaelisSpace[/color]


                  Thanks for the good responses. Though not providing an actual solution,
                  they do cover the reasons why we went with an IE based client
                  interface. It would have been nice if popup blockers had some practical
                  exclousions built in, like allowing popups on secure connections from
                  authenticated hosts? This would solve our problem since the application
                  only accepts HTTPS connections.

                  Raffi

                  Comment

                  • kaeli

                    #10
                    Re: Popup Blocker Detection

                    In article <1114625716.744 375.300740@l41g 2000cwc.googleg roups.com>,
                    thegrizzzly@yah oo.com enlightened us with...[color=blue]
                    >
                    >
                    > Thanks for the good responses. Though not providing an actual solution,
                    > they do cover the reasons why we went with an IE based client
                    > interface. It would have been nice if popup blockers had some practical
                    > exclousions built in, like allowing popups on secure connections from
                    > authenticated hosts? This would solve our problem since the application
                    > only accepts HTTPS connections.
                    >[/color]

                    There is another possible solution, especially since you only have one
                    browser to worry about.
                    Don't use popups at all.
                    Use "fake" popups. Floating DIVS styled to look like windows (can be moved,
                    "minimized" (hidden, really) etc) that get their dynamic content from the
                    server. This is quite possible now, though it is somewhat new.
                    xmlhttp


                    The downside is that it isn't an independent window, so it can't be open when
                    the main window is out of focus, and it won't retain state by itself if the
                    window content is reloaded, but for this type of app, it doesn't sound like
                    that would be a bad thing, anyway. And since it doesn't instantiate a new IE
                    instance, it uses less memory, too.

                    Just a thought.

                    --
                    --
                    ~kaeli~
                    What do they use to ship styrofoam?



                    Comment

                    • Prowler

                      #11
                      Re: Popup Blocker Detection


                      "kaeli" <tiny_one@NOSPA M.comcast.net> wrote in message
                      news:MPG.1cd988 b24607bb2d98a54 a@nntp.lucent.c om...[color=blue]
                      > In article <d4o1am$p17$1$8 300dec7@news.de mon.co.uk>, usenet@nosource .co.uk
                      > enlightened us with...[color=green][color=darkred]
                      >>> >[/color]
                      >> I have to be honest and admit that I can see no reason whatsoever for it
                      >> now. If you need web-rendering, but not a browser, and you are writing
                      >> it for an application then why the hell not actually WRITE an
                      >> application?
                      >>[/color]
                      >
                      > Off the top of my head...
                      > * Banking applications.
                      > * Intranet applications with multiple OSs in use (no installation
                      > necessary)
                      > -- this was the reason my biggest web app came to be.
                      > * Intranet applications with multiple OS versions in use (same).
                      > * CD-ROM applications.
                      > * Financial / trading applications.
                      > * B2B applications
                      >[/color]
                      <<::snip::>>

                      Agreed. I am currently working on an application which heretofore was
                      strictly EDI-based (i.e. B2B) and which we are converting to a Web
                      application. It will still have the same permissions requirements,
                      restrictions, etc. that it has as an AS/400 5250 green screen app, but will
                      be available to trading partners via secured server on the Web. Because of
                      the nature of the underlying AS/400 app, which must continue to run
                      **unaltered** on the 5250 terminals, we do not allow use of the Back or Home
                      button, or even Refresh (other than right-click refresh), because for the
                      app to function, navigation **must** conform to the menu system in use on
                      the 5250 app. Fortunately, we do not need popups, but we do need to restrict
                      navigation. We have chosen not to limit browser chrome; it won't take being
                      dumped back to the login screen too many times for users to figure out that
                      the menus are the way to go. The only way to go.

                      I would say that kaeli's list is a fairly accurate accounting of many of the
                      applications which might lead to the development of a Web-based (i.e.
                      browser based) application versus a platform-specific,
                      change-management-plagued, application-development-environment-limited
                      dedicated application.

                      Cheers,
                      Scott
                      Cheers,
                      Scott


                      Comment

                      • Tony

                        #12
                        Re: Popup Blocker Detection

                        "Raffi" <thegrizzzly@ya hoo.com> wrote in message
                        news:1114588592 .799524.177690@ z14g2000cwz.goo glegroups.com.. .[color=blue]
                        >
                        >
                        > Well, you're wrong. But considering the amount of crap on the internet,
                        > I don't really blame you. The application is a web based database and
                        > data analysis program which is used by a non computer savvy audience.
                        > We designed it to be simple and for the user to navigate through the
                        > application using the navigation buttons integrated in the
                        > appliacation. Also, the program launches reports using popups to keep
                        > the main session screen intact. That should be enough information to
                        > dispell any ill intent.
                        >
                        > BTW, I'm a strong believer of popup blockers. I have 2 of them on my
                        > PC. Popups when used properly are a great tool. Sadly though,
                        > legitimate applications that use popups have become more cumbersome to
                        > implement because of their misuse.[/color]

                        Why not just tell your users to set their popup blocker to allow popups from
                        your site?


                        Comment

                        • RobG

                          #13
                          Re: Popup Blocker Detection

                          Raffi wrote:[color=blue]
                          > kaeli wrote:
                          >[/color]
                          [...][color=blue]
                          >
                          > Thanks for the good responses. Though not providing an actual solution,
                          > they do cover the reasons why we went with an IE based client
                          > interface. It would have been nice if popup blockers had some practical
                          > exclousions built in, like allowing popups on secure connections from
                          > authenticated hosts? This would solve our problem since the application
                          > only accepts HTTPS connections.
                          >[/color]

                          Pop-up blockers only block unrequested pop-ups. If you make them
                          occur as a result of a user action (click on a button say) then they
                          aren't blocked (though I've not used any with IE, only other
                          browsers).

                          Also, most pop-up blockers (e.g. Firefox) can be set to allow pop-ups
                          from 'Allowed Sites'.

                          Pop-ups do make sense sometimes, particularly in the context of
                          dialog boxes - but having said that, I hate them in general and will
                          only tolerate them if I really have to.


                          --
                          Rob

                          Comment

                          • Raffi

                            #14
                            Re: Popup Blocker Detection

                            The program spawns popups as needed to generate reports. These popups
                            are not generated through direct user action, rather by the program
                            based on other user input (report paramenters).

                            As for allowing popups from specific websites, this is true and this is
                            what we have now. The issue is that 1)users aren't necessarily computer
                            savvy and 2)many people don't read manuals or instructions. So what
                            happens is when the user tries to generate a report or run the program
                            itself and get nowhere, their reaction to this is to call tech support.

                            So what we've done is have a browser "compatibil ity" test page where we
                            test for popup blockers, and have instructions in big bold red print on
                            the website asking users to test their browser for "compatibil ity"
                            before attempting to use the application. This is where the popup
                            blocker detection script comes into play.

                            Raffi

                            Comment

                            • Mr.Clean

                              #15
                              Re: Popup Blocker Detection

                              In article <1114709791.002 931.186710@z14g 2000cwz.googleg roups.com>, thegrizzzly@yah oo.com says...[color=blue]
                              > The program spawns popups as needed to generate reports. These popups
                              > are not generated through direct user action, rather by the program
                              > based on other user input (report paramenters).
                              >
                              > As for allowing popups from specific websites, this is true and this is
                              > what we have now. The issue is that 1)users aren't necessarily computer
                              > savvy and 2)many people don't read manuals or instructions. So what
                              > happens is when the user tries to generate a report or run the program
                              > itself and get nowhere, their reaction to this is to call tech support.
                              >
                              > So what we've done is have a browser "compatibil ity" test page where we
                              > test for popup blockers, and have instructions in big bold red print on
                              > the website asking users to test their browser for "compatibil ity"
                              > before attempting to use the application. This is where the popup
                              > blocker detection script comes into play.[/color]

                              Well, I thought you said that you had control of all these computers, the
                              software, especially. Why don't you standardize on a popup blocker and
                              configure it yourself so you won't get support calls about them.

                              Comment

                              Working...