zithromax online

Tag-Archive for » popup blocker «

Popup blocker detection pattern

Have you ever wondered why popup blockers hate certain popup windows, but not others? The underneath formula is pretty simple: if a window.open() call is not on top of a click event in the call stack, popup blockers would block it unless it’s on the exception list. This can be verified using Firebug or Chrome Developer Tools. Call stack of window.open() triggered indirectly from a click event Call stack of window.open() triggered from an Ajax callback Therefore, the rule of thumb is that you should avoid calling window.open() from anything other than an user-initiated click event. What if it’s a [ ... ]