Repository navigation
Open Links from Tabs
A link you click that would open a new tab opens in Little Dia over the page instead, so the tab you're on stays put. It's experimental.
A pinned tab is meant to stay where it is. A link you only want a quick look at, from a pinned mail, chat or notes tab, would otherwise land as a new tab next to your pins. Here it opens in a window sized to the page, with the toolbar behind it hidden, and a click anywhere outside closes it.
Pick All Tabs if you want that for every tab. Skip it if you'd rather links opened a tab.
It's experimental, so Settings hides it until you switch on Show Experimental Tweaks in Dia → Settings → Home, or click Show at the bottom of Patches. Then open Dia → Settings → Patches → Little Dia and, under Options, switch on Open Links from Tabs, then pick Pinned Tabs or All Tabs under Open Links From. Or run:
diatweaks enable littleDiaTabLinksIt's off by default and takes effect at once. Little Dia has to be on, and relaunched since you turned it on.
- Pinned Tabs: from a pinned tab, a link you click that opens a new tab, and a link you click that leaves the tab's site. A link on the same site that opens in the pinned tab stays there.
- All Tabs: from any tab, a link you click that opens a new tab. A plain link that loads in the same tab stays in it.
The window is 80% of the page's width, centred on the page and clear of the sidebar, and as tall as the Dia window less a small margin. Window Width and Window Height in Little Dia's options don't apply to it. They only size windows for links from other apps.
Click anywhere in the Dia window behind it to close it, or press Escape if Close with Escape is on. Open in Dia or ⌘O moves the page to a tab in that window.
- Command-click, Shift-click, Option-click and middle-click. Shift-click still peeks when Peek on Shift-Click is on.
- Anything a page does by script: a window it opens itself, with or without a size of its own, like a sign-in window. They open as they always did, so the page that opened them can still talk to them.
- Forms you submit to a new tab, so they keep their data.
- Downloads, and anything that isn't a web address, like
mailto:links. - Links in a private window, in an extension's popup, and links inside Little Dia or a Peek.
If Little Dia isn't ready, for example right after you turn it on and before you relaunch Dia, the link opens as a tab. So does a click Dia hasn't yet reported as being on a link.
Little Dia. Settings greys out this switch until that's on, and diatweaks enable littleDiaTabLinks offers to turn it on too.
Peek from Pinned Tabs: with both on, a link you click in a pinned tab opens in Little Dia, and in Peek only when Little Dia can't take it.
Hide Toolbar: the toolbar stays hidden while the window is over the page, and goes back to how Hide Toolbar has it when the window closes.
How do I keep the page as a tab?
Press ⌘O or click Open in Dia in the window.
How do I open a link as a tab anyway?
Hold Command as you click it, or right-click it and choose Open Link in New Tab. Both open a tab behind the page, as they always did.
A link I clicked opened a tab instead. Why?
Little Dia only takes a click Dia has reported as being on a link. If the pointer had only just arrived, or Little Dia wasn't ready, the link opens as a tab, so a click is never lost.
- Page
- Toolbar
- Sidebar & Tab Bar
- Profiles
- Tabs
- Command Bar
- New Tab Page
- AI
- Window
- App
- Passwords
- Links
- Network
- Help
- Making tweaks