Add option to open external links immediately next to the active tab
Categories
(Firefox :: Tabbed Browser, enhancement, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox145 | --- | fixed |
People
(Reporter: asafko, Assigned: sthompson)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fidefe-tabgrps])
Attachments
(1 file, 1 obsolete file)
As a user who actively switches between the browser and other applications, I want external links to open in a new tab next to my active tab, so I can avoid interruptions and forced context switching.
Acceptance criteria
- Links open from external applications open immediately next to the currently active tab in the active window – below the active tab in vertical mode, and to the right of the active tab in horizontal mode in left-to-right languages.
- I can turn off this behavior in about:preferences.
Updated•10 months ago
|
Updated•10 months ago
|
| Assignee | ||
Updated•9 months ago
|
| Assignee | ||
Comment 1•8 months ago
|
||
With browser.tabs.insertExternalAfterCurrent enabled, open external links in a new tab next to the active tab. If the active tab is pinned, open as the first unpinned tab. If the active tab is grouped, open as the fist ungrouped tab after the group. If the user is in Firefox View, open at the end of the tab strip.
Updated•8 months ago
|
| Assignee | ||
Comment 2•8 months ago
|
||
This introduces a new OPEN_NEWTAB_AFTER_CURRENT constant to nsIBrowserDOMWindow to allow BrowserDOMWindow.openURI to open external links in new tabs next to the active tab.
I introduced Tabbrowser.addAdjacentTab rather than updating the existing Tabbrowser.addAdjacentNewTab because the latter had some specific properties:
- opens a trusted tab, whereas I expect all externally opened links NOT to be trusted
- notifies the
browser-open-newtab-starttopic, which is intended for internal new tabs only
It's possible to adapt addAdjacentNewTab, but when I tried that, it felt really muddy. I think it's clearer to have two separate methods even though they have similar names. I'm interested in any ideas for how to differentiate them better.
Updated•8 months ago
|
Updated•8 months ago
|
Updated•7 months ago
|
Comment 6•7 months ago
|
||
Could we get a release note addition for that? Thanks
| Assignee | ||
Comment 7•7 months ago
|
||
:Ania, do you have any release-note-worthy copy?
Proposal:
With the new "Open links from apps next to your active tab" option, you can now choose to have links from other applications open next to your active tab instead of at the end of the tab strip.
Here's the final blurb with a minor edit from Laura, and I also added it to the 145 release notes.
With the new Open links from apps next to your active tab setting, you can have links from other applications open next to your active tab instead of at the end of the tab strip.
Description
•