4

I have an application where user have the option to open all selected items in a new windows.

Unfortunately, if the user is running a fancy new-age browser that blocks pop-ups, he doesn’t realize his browser is stopping him from doing it.

By the way, it’s impossible to know if the user have turned it off (or on) the feature in his browser.

  • It may be impossible to detect if popup blocker is turned on/off but is it possible for you detect if your new windows opens or not? Maybe something like this How can I detect if a browser is blocking a popup? - Detect blocked popup in Chrome – DasBeasto Sep 3 '15 at 14:48
  • Also are we assuming that the browser or adblocker isn't notifying the user of the blocked popup? Because I think most have that functionality included. – DasBeasto Sep 3 '15 at 14:49
  • Do you need to use a window popup at all? Problems like this have led me to do notifications in a page based popup, like an absolutely positioned div element, or a jQueryUI dialog. These always work without running into popup blockers, those of today and ones that appear suddenly when a new browser version tightens the rules without warning. – Joshua Frank Apr 17 '17 at 19:36
2

You may want to notify your users that this is a potential issue with their built-in browser pop-up blockers. For instance, Gmail uses this error message after a new window has failed to open:

"Grrr! A popup blocker may be preventing the application from opening the page. If you have a popup blocker, try disabling it to open the window."

If you include a message like this, it would also be helpful to include a link to the preferences area of your app/site to disable the option to open selected items in new windows.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.