On websites which open pop-under windows, Firefox 4 seems to be opening these over the current window instead of under. Is this a bug or an intentional feature?

I have noticed a problem on FF4 when browsing sites that open pop-under windows on a user action. With all other browsers (including FF3) these open underneath the main window, but on Firefox 4 they open over the top - acting as pop-ups and not pop-unders.
While pop-unders are annoying, it is even more annoying to have them keep appearing as pop-ups instead.
I have run some tests and the following code successfully opens a pop-under on all browsers except Firefox 4.
It appears that window.focus() is not correctly bringing the current window to the top.
Example code:
var w = window.open('http://www.mydomain.com/', 'mywin', 'width=400,height=300,toolbar=1,menubar=1,resizable=1,scrollbars=1');
if(w){
w.blur();
window.focus();
}

This is normal. Firefox 4 has disabled the default "window flip".
- go to adress about:config
- accept and search dom.disable_window_flip set to false;
And popunder, blur/focus javascript function will be back ;)

Similar Messages

  • Making popup menus stop painting over the current window

    I'm making up a game that relies on a regular menu bar for it's menus. But for some reason the drop-down menus insist on rendering themselves over the current window instead of creating a new object over it like it should. This causes them to vanish right after opening because the game is constantly refreshing the area it paints over, but if I reduce the window drastically in a way there's no room to paint the drop-down menus over the existing area, they appear normally because a new window is created to display them.
    How do I ferce it to always create a new window?

    Jack Mcslay wrote:
    I'm making up a game that relies on a regular menu bar for it's menus. But for some reason the drop-down menus insist on rendering themselves over the current window instead of creating a new object over it like it should.No it shouldn't, and your saying so doesn't change anything.
    This causes them to vanish right after opening because the game is constantly refreshing the area it paints over,... implying that you have a wrong approach to custom painting
    but if I reduce the window drastically in a way there's no room to paint the drop-down menus over the existing area, they appear normally because a new window is created to display them.As expected
    How do I ferce it to always create a new window?Wrong question. Ask how to perform custom painting correctly -- which is answered in the tutorial suggested twice.
    db

  • Firefox opens new windows under the current window

    Whenever I right-click on a link and tell it to open in a new window, the window opens behind the current window. I have selected "When I open a link in a new tab, switch to it immediately". That used to solve this problem but seems to have stopped working.
    I have read all the threads on this problem, including the one saying it's caused by Flash.
    However, I have checked in safe mode and I still get the same problem.
    This started happening around Christmas on three computers. Since then, because of problems getting a driver to install for a new peripheral, I have done a fresh install of Windows 7 64 bit, reinstalled FF newest version and restored my profile, but get the same problem. At this point I have started in the FF safe mode which should disable all the add-ons, but the same thing still happens. I have also reset FF using the reset option in the help menu. It doesn't always happen, but it can happen when flash is already running in another window.
    Are there a series of steps I can take which will verify that the fault is caused by Flash? I had thought the safe mode would do that.
    Honestly, this is enough of a problem to make me switch browsers, and I don't even like any of the other browsers. If you can offer any other suggestions I would really appreciate it.

    Safe Mode actually doesn't disable Flash. It's a little confusing: it disables extensions, but not plugins, so "Restart with Add-ons Disabled" is really not a very good description.
    If you want to test with Flash disabled, you can set it to "Never Activate" temporarily. Open the Add-ons page using either:
    * Ctrl+Shift+a
    * orange Firefox button (or Tools menu) > Add-ons
    In the left column that lists the categories, click Plugins. You're looking for "Shockwave Flash." Change it to "Never Activate."
    You can keep this tab open during your testing. If you close and re-open the Add-ons page, Shockwave Flash will fall to the bottom with the other disabled plugins.

  • When I open a new window, the current window is closed. I would like to keep the current window and open the new window without losing my current window. I checked "Open new window in a new tab instead" under tabs

    When I open a new window, the current window is closed. I would like to keep the current window and open the new window without losing my current window. I checked "Open new window in a new tab instead" under tabs
    == This happened ==
    Every time Firefox opened
    == Noticed yesterday, June27, 2010

    i just went into preferences, deleted what was in the home page, and entered a new home page address which solved the problem, 

  • How to remove black "blocked plug-in" window that opens with iPhoto. It covers iPhoto and everything under it. I've right and left clicked the black window, restarting the computer, shutting down the computer, but the window always appears when I ope

    How to remove black "blocked plug-in" window that opens with iPhoto. It covers iPhoto and everything under it. I've right and left clicked the black window, restarting the computer, shutting down the computer, but the window always appears when I open iPhoto and it will not move or go away. It stays on my screen (covering my desktop icons) even after I quit iPhoto. How can I get it off my screen?

    Which version if iPhoto and MacOS X do you have?
    Do you have any iPhoto plug-ins  installed?
    Open the folder /Library/Application Support/iPhoto/Plugins/
    To navigate to that folder, open the folder "Library" directly on your Macintosh HD, then inside the Library folder go to Application Support, then iPhoto.  Is there anything installed?

  • How do you stop the welcome to firefox 4 screen from coming up every time I open firefox? I get two tabs, one the welcome window, then my home page. How do you stop the bloody welcome screen?

    How do you stop the welcome to firefox 4 screen from coming up every time I open firefox? I get two tabs, one the welcome window, then my home page. How do you stop the bloody welcome screen?

    Its not my home page, Like I said, I hae my home page also come up in a different tab (google) I also get the welcome to FF4 on a seperate tab. My home page is set to google. But I dont want the welcome screen to pop up

  • Why does Firefox keep opening new Windows rather than a new Tab in the current window?

    I have " Open a new Tab in the current Window" select in Preferences.
    Why then does this version (Version 4) keep opening new Windows, rather than new Tabs in the current Window.
    This feature worked fine in 3.6.1.3, but in Version 4, it is a frigging pain in the rigging!
    C'mon, Mozilla - time for an URGENT update ...

    That issue can be caused by an extension that isn't working properly.
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • Content open up in the current window

    When I add content in the content area but when I click the link it opens up in the current window
    s oppose to if it had been URL Link there is an option to open up in current window.
    As I was searching in metalink I found somebody from Oracle had posted this :
    ### What were you trying to accomplish when the problem occurred? ###
    Author : Jerry Silver Type : N/A
    Date : Jun 6, 2001 11:22 PT
    Here's a solution for Portal 3.0.8 or later that allows you to open a file in
    a new browser window. It requires that you create a custom item type, and use a
    procedure to display a link to the file.
    1. Create the following procedure. You can create it in any schema, but the
    schema has to have select privilege on the view 'WWSBR_ALL_ITEMS' in the portal
    schema. In this example, the portal schema is PORTAL30. If you're running
    version 3.0.8, you'll also need to apply the patch to bug 1724250.
    Create or Replace PROCEDURE OPEN_FILE (p_itemid IN NUMBER) as
    fileURL varchar2(1024);
    baseURL varchar2(256) := '/pls/portal30/docs/';
    begin
    select baseURL | | filename into fileURL
    from portal30.wwsbr_all_items
    where id = p_ItemId;
    htp.p ('Open File');
    EXCEPTION
    when NO_DATA_FOUND then
    htp.p('Document not found or access denied');
    when others then
    htp.p(sqlerrm);
    end;
    The procedure generates a link to the item filename with a target of "_blank",
    which opens the file in a new browser window. Replace the baseURL attribute
    value with the correct Database Access Descriptor (DAD) and Document Access
    Path ("/docs") for your site.
    2. Grant execute on the procedure to the portal public schema. The name of this
    schema is <portal schema>_PUBLIC. So if your portal schema is PORTAL30, grant
    execute on the procedure to PORTAL30_PUBLIC.
    3. Create a custom item type, using the base item type of "File". I recommend
    that you create the type in the Shared Objects content area, so it can be used
    in other content areas (from the Navigator, go to the Content Areas tab, select
    Contents for Shared Objects, Custom Types, and Item Types - Create). Edit the
    Text continued in next action...
    new type and go to the Procedures tab.
    4. In the Procedure Call Properties, enter:
    Type: PL/SQL
    Procedure Call: <your procedure schema>.OPEN_FILE
    Link Text: Open File (it doesn't matter what you put here - it only displays if
    "Display Procedure Results With Item" is unchecked.)
    Check "Display Procedure Results With Item"
    5. Under "Pass Attributes as Parameters", enter:
    Attribute: Item Id
    Pass As: p_itemid
    (Notice how you can pass most of an item's attributes to a procedure. You can
    take advantage of this feature to write procedures that give you precise
    control over the rendering of your items).
    6. In the properties for the content areas in which the new type is to be used,
    go to the Items tab. Specify that you want the new type to be visible. You may
    want to hide the base File item type, so users won't be confused by two
    different item types for files.
    7. Edit the folder style for the content area. Go to Folder Layout. Edit the
    region properties for each region in which you will be using the new item type.
    For each region, replace "Display Name or Image" with "Display Name". "Display
    Name or Image" will render the Display Name as a link to your file that opens
    the file in the same browser window. "Display Name" simply renders the display
    name as text, with no link.
    8. Now you can create items of the new item type. Each item's Display Name will
    appear next to a link that says "Open File". Clicking the link will cause the
    file to open in a new browser window.
    Hope you find this useful.
    But after doing this the issue with this still I am able to see this as link on the page but when I
    click on it opens up in current window. But when I click on the header bar that
    displays Content Area name then it takes to the content are manager. Here there is
    a link that shows OPEN_FILE link and then it opens up in a new window.
    But I don't want user to go inside the content manager to see the content to open up in a new window.
    I want this same functionality to be there on the page rather then in the content area navigator
    Thanks

    fuscia wrote:
    stonecrest wrote:sh -c "cd %f && urxvt"
    can't help being ignorant: what is that?
    A shell script for entering the working directory and launching urxvt.
    Try it and see if it actually works.
    I think I tried something like that but wasn't successful...
    Last edited by moljac024 (2008-09-26 12:28:43)

  • How can I get any of the search requests to open in a new tab and not the current window. I have just downloaded the new FF8

    In my previous version of FF, whenever I did a search with any search engine the results opened in a new tab. Now with FF8 the results open in the current window which really is inconvenient. How do I get the search results to open in a new tab instead?
    I have Windows xp FF8

    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    *Use the Filter bar at to top of the about:config page to locate a preference more easily.
    *Preferences that have been modified show as bold (user set).
    *Preferences can be reset to the default via the right-click context menu if they are user set
    *Preferences can be changed via the right-click context menu: Modify (String or Integer) or Toggle (Boolean)
    Use the Filter at the top of the page to locate this pref: <b>browser.search.openintab</b>
    If the value of the browser.search.openintab pref is false then toggle the value to true with a double click on that line.
    See also http://kb.mozillazine.org/about:config

  • FF4 wont move a tab to a new window. The new window opens fine but the existing tab stays on the current window. What's wrong?

    I just upgraded to firefox 4. I'm using session manager extension.
    I have multiple tabs open in my firefox window and I want to move some tabs to a new window. I followed the support guide which tells how to do this, however, when I drag the tab off the current window, the new window gets opened as it should, but the tab I was trying to move stays in the current window and does not get moved to the new one. Any ideas what the problem is?
    Thanks
    Mick

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Is there a way I can click on a link designed to open in a new window/tab and have it replace the current tab instead?

    For example, if I go to [http://www.ncbi.nlm.nih.gov/pubmed/20435580 an abstract on PubMed] and click on either of the full text icons, Firefox will open a new tab. I want the full text to replace the tab with the abstract, instead.
    The best thing I can figure out now is to Ctrl-click the icons so they open in the background, then use Ctrl+W to close the current window.

    Hi,
    In your Firefox -> Preferences/Options -> Tabs, you can select the check box "When I open a link in a new tab, switch to it immediately". You would still need to go back and close the original tab, but this would help you with part of the issue.
    Thanks,
    Michelle

  • Why does "open in new tab" function, open in both new tab, and the current window ?

    Right click on something, select "open in a new tab" As well as opening in a new tab, quite frequently the current window is overlayed with the same thing.

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    There are other things that need your attention.
    Your System Details List shows multiple Flash plugins.
    # Shockwave Flash 14.0 r0
    # Shockwave Flash 11.7 r700
    You can find the installation path of all plugins on the <b>about:plugins</b> page.
    *http://kb.mozillazine.org/Issues_related_to_plugins#Identifying_installed_plugins
    You can check the Flash player installation folder for multiple Flash player plugins and remove older version(s) of the plugin (NPSWF32) and possibly (re)install the latest Flash player.
    *(32 bit Windows) C:\Windows\System32\Macromed\Flash\
    *(64 bit Windows) C:\Windows\SysWOW64\Macromed\Flash\

  • Can I set up a new window to open without all the tabs from the current window opwning?

    I have a new computer at work with what must be a new version of firefox. I use multiple windows to do my job. When I open a new window, all the tabs from the current window open in the new one. I am wondering how to configure a new window to open with either a blank page or just my homepage?

    I restarted Firefox and changed the homepage settings a to a different choice and back to the desired page then restarted Firefox again. This eliminated all the initial tabs from opening from opening in the new window. I am not sure how all the pages were cached or what I should have done but I no longer have this issue.

  • When I open my gmail in firefox, it instantly directs my gmail to the gmail calendars. I am unable to read my gmail on firefox, but I can read it on safari

    When I open my gmail in firefox, it instantly directs my gmail to the gmail calendars. I am unable to read my gmail on firefox, but I can read it on safari. Please help.
    == User Agent ==
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us) AppleWebKit/533.16 (KHTML, like Gecko) Version/5.0 Safari/533.16

    Is there a solution for this?
    I just opened Firefox for the first time in a couple of weeks and am experiencing the same problem. I see my Gmail inbox briefly before being redirected to the calendar. Clicking the back button produces the same result.
    Very frustrating.

  • I don't know if this is the right section but I experience the following issue with Adobe Acrobat Pro XI installed on Windows 8.1. When I start Acrobat the related window opens normally but, after some scroll up and down along the document, it blocks, Acr

    I don't know if this is the right section but I experience the following issue with Adobe Acrobat Pro XI installed on Windows 8.1. When I start Acrobat the related window opens normally but, after some scroll up and down along the document, it blocks, Acrobat doesn't respond to any command I can give and, in place of the pointer arrow, a vertical bar, as the one of the text editor appears. The only way I can stop Acrobat is by means of the task manager. I tried to de-install and the re- install Acrobat but the behaviour is always the same. What can I do??

    Have you opened Acrobat and gone to Help>Updates to get an updated install?

Maybe you are looking for

  • Why is the Library 1 file?

    I recently converted to Mac and imported my photo library into iPhoto. What I don't understand is why it seemed to turn the entire Library into one massive file over 26 gigs large. It seems to totally defeat the ability to do a Cover Flow or preview

  • I need help adding a mouse motion listner to my game. PLEASE i need it for

    I need help adding a mouse motion listner to my game. PLEASE i need it for a grade. i have a basic game that shoots target how can use the motion listner so that paint objects (the aim) move with the mouse. i am able to shoot targets but it jus click

  • Request to get a list of mappings and its objects

    hi, I search scripts SQL to obtain a list of mappings in a module and the objects also. I you know a web site where i can find some SQL it will be more interesting. Thanks. Patrick

  • PlayBook not sharing file with PC

    I have a PlayBook and it works perfectly with my home system running Windows 8 with USB connection but it shows "Connected to Computer" when I connect it to my office system (also running Windows 8) but I can't access it either as a network location

  • 1 inch square screen HTML page while drilldown from BI to ERP

    Hi, We are trying to publish BI reports in the Portal server as Iviews. As per the requirement we are drilling down to the ERP from the BI report using RRI. 1) We have an Iview in Controlling (Cost Center range: Transaction Drill down). 2) Once we dr