New tab control similar to popups

Much has been done to corral popups but new tabs get trashy quickly, then problems can arise on closing when focus is reselected. An optional tooltip to allow a new tab when default behavior is preferable would be great - just follow the link like browsers used to do. Otherwise, when it’s suspected, you have to Copy Link Location then Paste and Go to thwart the profligate tabbing. Open most anything in New Tab is available, this is the contrapositive, maybe.

(Note: this comment is for desktop versions of Firefox - Windows, Mac, Linux)

Firefox has preferences to divert new windows to new tabs instead (new tabs instead of new windows). Firefox also can bet set to disregard sites’ instructions to use a new window and simply open a link in the same tab. In that case, you can still direct a link to a new window or tab using the right-click link context menu. If you would like to experiment, take a look at the following:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the search box above the list, type or paste neww and pause while the list is filtered

(3) Review/Adjust the preferences as follows:

(i) browser.link.open_newwindow - for links in Firefox tabs

This is the one that has a checkbox on the Preferences page:

  • 3 = divert new window to a new tab (default)
  • 2 = allow link to open a new window
  • 1 = force new window into same tab <= Try this one

(ii) browser.link.open_newwindow.restriction - for links in Firefox tabs

By default, if a page sets width, height, or toolbars for a popup, Firefox will let it be a separate window. To force those into a tab as well, you can change this preference to 0:

  • 0 = apply the setting under (A) to ALL new windows (even script windows with features)
  • 2 = apply the setting under (A) to normal windows, but NOT to script windows with features (default)
  • 1 = override the setting under (A) and always use new windows

(iii) browser.link.open_newwindow.override.external - for links in other programs

If you set all internal links to overwrite the current tab, you probably want to set the preference for external links to use a new tab or new window to avoid external links replacing the current page:

  • -1 = apply the setting under (A) to external links (default)
  • 3 = open external links in a new tab in the last active window <= Try this one
  • 2 = open external links in a new window
  • 1 = open external links in the last active tab replacing the current page

To return to normal if things go haywire, right-click each “modified” preference and choose Reset.

Success?

Configuration excitement should be restored to the popup issue also. It is dreadfully boring to answer that a site should receive popup service or that it should be shown this time, when a trip into the configuration at every turn would suffice just as well!

Opening links is lifeblood to the web and shouldn’t involve frequent configuration changes. When a link is written to open a new tab, the mouse pointer could morph into a tooltip similar to the arrow often seen that indicates a link opens a new window. Clicking normally would play through, clicking the context button, defaulting to right-click, would execute the new tab suggested by the page author. Occasional per-page reversal would be appropriate for email, where in-message links usually open a new tab so as not to wreck the skyscraper that is a browser email page. Simple? Click-through with standard click even though there’s the tooltip, or “right” click in the presence of the tooltip, et voila the new tab opens the link as written. Why is this an issue? Some sites write every link to open a tab, just as some used to always popup until that was thwarted. Still, right clicking on a standard link would bring up the well-known context menu. The tooltip feature could be suppressed in toto in the configuration by default or offered by default, by choice of the committee. As with popups, some specification of site(s) should be available to reverse the behavior, as with an email behemoth, so as not to crash the china shop.
Currently, without this feature, the gut feeling that “This guy is getting trashy” has to be honored so one “right” clicks to Copy Location and visits the address bar to Paste and Go to suppress all the tab openings.

preferences => configuration