Merge in a window opened with JavaScript's ""

Discuss how to use and promote Web standards with the Mozilla Gecko engine.
Gary King
Posts: 983
Joined: September 5th, 2003, 9:27 pm

Post Posted October 15th, 2014, 11:13 am

If I click a link on a website, which opens a new window with JavaScript's "" function, and it has small dimensions like 250 px by 100 px or whatever, then how can I merge it back in to my main Firefox window? I can't really drag anything because it doesn't have a tab bar, like I can with most links that open in a new window.

EDIT: I'm not sure why this thread was moved to the web development forum. It's related to Firefox functionality (merging windows by dragging tabs into another window), not how websites function. It's not really a JavaScript-related question, and more of a Firefox-related one.


User avatar
Posts: 10744
Joined: December 19th, 2004, 12:26 am
Location: Silicon Valley, CA USA

Post Posted October 18th, 2014, 9:56 am

When uses certain features, it is not treated as an ordinary window but as a dialog-style window. For example, it can't have additional tabs. I once posted a Greasemonkey userscript that would reload the page in a normal window, but that is an extra step and depending on the site might not always work.

Since that is a mirror site that tried to rescue all the content of, I'm not sure whether it's a correct copy of the original.

Gary King
Posts: 983
Joined: September 5th, 2003, 9:27 pm

Post Posted October 18th, 2014, 1:42 pm

Thanks, that's a very helpful reply. Unfortunate that Firefox can't provide a way to override the dialog nature of these windows. I like it when I click on a tab that opens a new window, and Firefox forces it into the current window. I wish the same could be done for as well.

Return to Web Development / Standards Evangelism

Who is online

Users browsing this forum: No registered users and 5 guests