Use this snippet to detect if the client browser is using a popup blocker.

If a one is detected, the script can then perform a different action.

The sample uses an alert box to inform the user whether a popup blocker is present or not.