Single Window Do not allow popup windows from opening in a new window
Support Development
PayPal ● 
Bitcoin Address: bc1qh7juzrxrawpr65elm4qs285m5rdhnhgsn7h2jf
 ● 
Lightning Address: bhjmq@getalby.com
Your Input Matters
Review
Advertisement
Screenshot
The "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.

Features

FAQs

  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.

  4. Can I still open a new browser window when this extension is enabled?

    Yes, use the 3-dot button and press "New Window". The extension does not block this type of window opening since it is initiated by the user. Also, you can use "Ctrl + N" on Windows and "Command + N" on Mac to open new windows. Note that if you have multiple windows, the extension always uses the active window to direct popup windows.

  5. What does happen if I want to open a new private (incognito) window when this extension is enabled?

    This extension does not intercept private window opening. In modern browsers, it is not possible to mix the normal and incognito contexts.

  6. I have some other extensions that do open new popup windows. Is this extension going to block those windows too?

    No, this extension only intercepts "HTTP://", "HTTPS://" and "about:blank" window instances. If an extension opens an internal window, the URL starts with "chrome-extension://" or "moz-extension://". This extension does not observe these types of window openings.

Matched Content

Preview

Reviews

Please keep reviews clean, avoid improper language, and do not post any personal information. Also, please consider sharing your valuable input on the official store.

What's new in this version

Version--
Published--/--/--
Change Logs:
    Last 10 commits on GitHub
    Hover over a node to see more details

    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.

    Open IssuesIssuesForks

    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