Single Window
Do not allow popup windows from opening in a new window
Make a Donation
PayPalBitcoin
Bitcoin Address: 1sM2BrTH8BRgt3quiASK8TmYSafutNvDo
Ether
Ether Address: 0xCf9eaAc56992e12EB61fD46342172d4EEff5C8e4
Download Links
Advertisement
"Single Window" extension monitors window opening and prevents any webpage from opening new popup windows. Instead moves the opened popup windows to browser tabs next to the active tab. The extension can be enabled or disabled from the toolbar button. You can place your mouse over the toolbar button to see the currently active state. Note that this extension does not prevent other extensions from opening local popup windows. So still local URLs with chrome-extension:// or moz-extension:// schemes can be opened.
image

Features

  1. What is the "Single Window" extension and how does it work?

    This extension monitors tab opening and decides whether the newly opened tab is in the right place or not. After installation, the extension stores the current window id and when a new tab gets opened, its parent window is observed and being compared to the stored window id. If the tab is in a new window, the tab is moved to the current window instead. It is exactly similar to move a tab by dragging it into a new window. Note that this extension does not block tab opening that is originated from another extension. Basically, the extension only blocks http:// and https:// schemes or when a tab does not have a URL (about:blank). So if a popup window has chrome-extension:// or moz-extension schemes, the tab opening is not going to be interrupted. Also not that this extension does not prevent web pages from opening popup windows. It just moves the popup window from a new parent to the old window. So you may see a popup window gets opened for a few seconds until it is moved to the old window.

  2. What's new in this version?

    Please check the Logs section.

  3. Although the extension works fine, I would like to allow a single popup window. How can I achieve this?

    When the extension is installed, a button is placed in the toolbar area. Click the button once to disable the single mode state. You can click one more time to re-enabled the single mode state. Note that the enable state is persistent across browser restarts.

Matched Content

Reviews

Please keep reviews clean, avoid the use of improper language and do not post any personal information.HTML tags
  • <a> Defines an anchor.

    Example: <a href="http://add0n.com">a sample link</a>

  • <pre><code> Syntax Highlighting (Supported languages: Bash, JSON, HTML, JavaScript, and CSS).

    Example: <pre><code class="javascript">var foo = 'bar';</code></pre>

  • <strong> Defines bold text
  • <blockquote> Defines a long quotation
  • <caption> Defines a table caption
  • <cite> Defines a citation
  • <em> Defines italic text
  • <p> Defines a paragraph
  • <span> Defines a section in a document
  • <s> Defines strikethrough text
  • <strike> Defines strikethrough text
  • <u> Defines underlined text
  • <br> Defines a single line break; can be used alone and don't need an ending tag

What's new in this version

Version--
Published--/--/--
Change Logs:
    Last 10 commits on GitHub

    Need help?

    If you have questions about the extension, or ideas on how to improve it, please post them on the support site. Don't forget to search through the bug reports first as most likely your question/bug report has already been reported or there is a workaround posted for it.

    issuesstarsforks

    Permissions are explained

    PermissionDescription
    tabsto read the URL of the newly opened window (to decide whether the window should be opened as a tab or it is an internal page)
    storageto save internal preferences like enable and disable state

    Recent Blog Posts on add0n.com