Skip to main content

Let Firefox decide how pop-ups should open

You must have seen that the Internet Explorer’s Tabbed Browsing Settings dialog box has an option called “Let Internet Explorer decide how pop-ups should open” which is explained best by the quote below

Basically what this will do is open any pop-up without size or other restrictions in a new tab, the rest will open in a new window. For users experienced with tabbed browsing this is typically the best option, as it allows most windows to open in tabs, but allows pop-up style windows to open in a new window.
[Source: IEBlog: Your Tab Settings…]

However users of Firefox will find that such an option does not exist in the Firefox’s Options or Preferences dialog. The closest option that is there would be “New pages should be opened in: (a) a new window (b) a new tab” but this option does not make the distinction between pop-up style windows and normal windows.

There is a hidden preference in Firefox which will make this distinction. It is and you can find it in the about:config page. Just type “about:config” followed by the Enter key in the address bar.

Filter the page by typing in open_new or restrict. Then double-click the preference and enter the value 2, which makes Firefox open normal windows as new tabs, while opening pop-up style windows as real pop-ups.

Other values are 0 which follows the above mentioned closest option, and 1 which ignores the same option (all pop-ups open in a new window regardless of what you set).

[Reference: MozillaZine Knowledge Base Article]


  1. who cares about pop-ups, firefox blocks them all (unless you allow, and they open in a new window) because most of them are are ads.

  2. Mr Anonymous,

    In my post, I am talking about useful pop-ups. Not pop-up advertisements. Make sure you clearly understand the blog post before writing a comment.

    Useful pop-ups include chat windows (for Gmail's inbuilt chat for example) or "Post a Comment" pop-ups, and so on.

    I repeat, I am not talking about advertisement pop-ups. They are of course blocked by Firefox (and Internet Explorer) and I don't want them.


Post a Comment

Comments are moderated, and are usually posted within 24 hours if approved. You must have a minimum of OpenID to post comments.

Popular posts from this blog

Disable auto save in JetBrains IDE software (IntelliJ IDEA, PyCharm, PhpStorm)

JetBrains provides the following IDE software:
IntelliJ IDEAPhpStormPyCharmRubyMineWebStormAppCodeCLion Google also provides Android Studio which is powered by the IntelliJ platform.

If you come from a different IDE such as Eclipse, you will be unpleasantly surprised to find that JetBrains-branded IDEs automatically save everything the moment you look away. The proponents argue that as you work on your project, you should not have to worry about saving files. But to others, this auto-save behavior which is enabled by default is a curse that catches them by surprise, and a shocking departure from the workflow they are very much used to.

You can change the behavior by altering some settings.

Stop having to click Unblock on every downloaded file

CAUTION: The blocking of downloaded files in Windows is a security and safety feature to help prevent your computer from being infected by viruses and other malware. Only disable this feature if you know what you're doing.

I had been plagued by this annoyance since the days of Windows Vista. Any downloaded file, no matter what browser I use, gets tagged as "blocked" by Windows. You can open downloaded documents even though they are blocked, but when you run a downloaded application (such as a setup file) you're presented with a "Security Warning" before you're allowed to run it. It's worse if you extract a downloaded ZIP file with the Windows' built-in ZIP management. Every extracted file is blocked by default.

Being a geek who finds unnecessary "security" prompts annoying, the first thing I do in Windows is to disable the User Account Control (UAC). But I couldn't quite figure out how to disable blocking of downloaded files until …

How to change default and internal currency in self-hosted Odoo or OpenERP

If you wish to use Odoo in a single-currency environment, you will find issues changing the currency in the Odoo interface itself. If you have a self-hosted solution of Odoo or OpenERP, you already have unprecedented control over the system, unlike the cloud-based solution from Odoo. This means that you can very easily fix the issue by hacking the database that Odoo is relying on. Even in a multi-currency environment, you can use the same trick to change the global default currency - the fix is very clean for any environment - there is just an extra step to update the currency rate settings.

Even in the latest version of Odoo, we still face the ridiculous bug that Odoo internally ALWAYS uses EUR (Euro) as the internal currency. This has created many problems for many users wanting to use a different currency. Despite being set to a different currency from the Odoo interface, the eCommerce site, reports, accounting, etc are still shown using EUR and the Euro symbol, creating confusion…