Questions tagged [popup-blocker]

In web browsers, a popup-blocker is browser code that attempts to prevent annoying or disruptive unsolicited popup windows from polluting the display area.

Most browsers implement popup blockers by attempting to correlate user actions to window creation activities in script. If a window is opened by code that is responding to a mouse click event, the popup blocker allows the window to be shown.

If a window is opened in browser script that is not directly linked to a mouse click or other user input action, the popup blocker will probably prevent the window from being shown on the premise that the user didn't do anything to warrant a response from the app. Opening a window in a timer event handler, for example, will usually run afoul of popup blockers because there is little or no association between the timer event handler that opens the window and the user mouse click handler that created the timer event.

The definition of "proximity" of code to a user event varies by browser implementation. For example, Internet Explorer 6 would only allow code within a mouse click event handler or within about 2 nested call frames of a mouse click handler to open a popup window. In Internet Explorer 7, the nested function call tolerance was much greater, so long as the call chain originated in a mouse click event.

74 questions
0
votes
0 answers

Preventing popup-blocker when using window.open from interval

I am working on some js code that is called from a button click, starts some asynchronous action that may result in a window that needs to be opened. To prevent popup-blockers I need to make sure the window.open call is done from the button-click. I…
Rob Gansevles
  • 143
  • 1
  • 10
0
votes
0 answers

triggers browser's popup blocker, how to avoid this?

How can I enable/disable browser popup blocker from server side? I am using JSF 2.2 with Oracle ADF. I have a which does not work and ask user to off popup blocker in browser. I need to avoid this through coding.
Ranish
  • 36
  • 1
  • 6
0
votes
1 answer

How to prevent Users to use ad blocker on my website?

Hey any one know how to prevent users to use ad blocker on my site.I just want to request them not to use it on my site..
Hassan Munir
  • 15
  • 1
  • 4
0
votes
1 answer

how prevent IE to block Popups for bookmarklet same as pinterest

Best Collegue, i've created a bookmarklet for IE and bumped against the following problem. When the user drag my bookmarklet in bookmarklet toolbar and click on it IE shows a dialog if the user want to allow the popup. But Pinterest made it…
Navid
  • 485
  • 1
  • 8
  • 25
0
votes
1 answer

Disable popup blocker in firefox

From one of our application, we are calling window.open() method to open a pop up. When we are using this, the browsers are blocking the popup and user has to disable popup blocker for the specified web site. Is there any way to disable the popup…
SmartTechie
  • 123
  • 1
  • 10
0
votes
1 answer

Open multiple tabs/windows pointing to external sites with a single user click

I want to open more than one browser tab/window when user clicked a button or link. The external tab/windows would be pointing to external sites. I already tried different ways to accomplish this but in each case Chrome blocked tab/windows except…
Junaid
  • 488
  • 1
  • 5
  • 17
0
votes
2 answers

Javascript opening a link

I am trying to open a link in a new tab/window when a user presses a key. Here is the function I made for opening a link, it gets called when the user presses the "X" key. function open_link() { window.open($("#active").attr("link"),…
Sindre Smistad
  • 139
  • 1
  • 11
0
votes
1 answer

Disable IE8 Popup Blocker CLI No Registry

Is there a way to disable IE8s popup blocker application using command line of some sort? Preferably Powershell? I don't want to use any commands to touch the registry. For all intents and purposes imagine I only have local user access with no…
0
votes
0 answers

Why popup windows are blocked by popup blocker when i am not logged in to my vbulletin forum?

I am using a vBulletin forum for my website and I am designing an application. In my application, javascript opens a popup window using window.open() javascript method. I have to open the popup at this point in my application because i don't want to…
Vinay Jeurkar
  • 3,054
  • 9
  • 37
  • 56
0
votes
3 answers

Window.Open without popup-blocker

i want to open a popup window when user leaves tab or closes browser, the available option with me was window.open, but with that, it asks for popup blocker, if it is not enabled, i tried every possible ways to ignore popup-blocker but in vain, i…
Abbas
  • 4,948
  • 31
  • 95
  • 161
0
votes
1 answer

Circumventing popup blockers

I use popups for private chat in my site. I can't use a dialog for some reason. Any way to stop popup blockers from blocking my popups? I think this code is useful but I don't know how use it. document.popup = false; function setCookie(name,…
behzad n
  • 239
  • 3
  • 5
  • 15
-1
votes
1 answer

How to slow down the execution of code for popup blocker

I've been working on an issue with my program executing too quickly to detect whether popup is being blocked by the browser. Even with the timeout, sometimes the window that is opened doesn't get closed. I've also tried opening a window and passing…
bluesky
  • 624
  • 2
  • 14
  • 25
-1
votes
1 answer

Cordova ios app - Not able to open links due to pop up blocker

I have a cordova application which downloads an angularjs application (Say 'MyAngularApp') from the server based on some version matching logic. This 'MyAngular' app comes in a zipped folder which my cordova application unzips and stores at a…
-1
votes
3 answers

Opening Popup from website without Popup Blocker catching it

i have a strange query, i want to open a new window (a popup), when the browser/tab is closed using asp.net, Jquery, but i want to bypass the popup blocker which blocks the window, can anyone help me with this, how can i open a popup when user…
Abbas
  • 4,948
  • 31
  • 95
  • 161
1 2 3 4
5