Configurable Middle-click (e.g. open Tabs in Foreground)
-
I upvoted this.
As a former Opera user, I am used to middle-click over a link to open it in a background tab. I don't know where I got the habit, but I am also used to middle-click in the tab itself to duplicate it in a background tab, and I keep closing them every time I do it, which is quite often. Mildly infuriating.
-
I have been wanting this option since Opera-days. How do I vote on this?
-
@janiporo
Hi, vote in the first post:Cheers, mib
-
Thanks ^~^
-
Hello,
is it possible to configure Vivaldi in order to middle click the new tab button (+) to have private window opened? I see that the shortcut to open private window is configurable, but it doesn't accept mouse inputs.
-
@belenus Much better is to assign a mouse gesture to open a new private window, then you can open it wherever the mouse cursor is on the page, there is no need to hit the new tab button, which may be far away, and is not always in the same position.
-
This post is deleted! -
@schreck Same problem here when transform from chrome to vivaldi.
I try to use chatgpt to create a extension to solve this issue and it worked.
You can get access to the extension at following url and load it into vivaldi if you want.
https://drive.google.com/file/d/1MK0m3CCsoiRH-4PLY6uLArgghgM_pTuO/view?usp=drive_link -
I wonder why it hasn't been implemented yet. Vivaldi poses itself as highly customizable, but this one thing is one of the first that come to mind when speaking about customization. Even Firefox has it. Is it somehow made hard to implement by the Chromium part? Because otherwise it sounds like something ridiculously easy and yet extremely useful. I can do without it, of course, I got used to this stupid way of opening tabs in Chrome, but at the same time it feels like using Chrome, that is, something uncomfortable and not customizable at all.
-
@Mrwhite987 this works great, but the new tab doesn't open in the current tab group now , still, thanks for trying.
edit: i ran your extension through chatgpt and it fixed it . It changed background.js to this:
chrome.runtime.onInstalled.addListener(() => { chrome.contextMenus.create({ id: "openInForegroundTab", title: "Open in Foreground Tab", contexts: ["link"] }); }); chrome.contextMenus.onClicked.addListener((info, tab) => { if (info.menuItemId === "openInForegroundTab") { chrome.tabs.create({ url: info.linkUrl, active: true, index: tab.index + 1, openerTabId: tab.id }, (newTab) => { if (tab.groupId !== chrome.tabGroups.TAB_GROUP_ID_NONE) { chrome.tabs.group({ groupId: tab.groupId, tabIds: newTab.id }); } }); } }); chrome.runtime.onMessage.addListener((message, sender, sendResponse) => { if (message.action === 'openInForeground') { chrome.tabs.create({ url: message.url, active: true, index: sender.tab.index + 1, openerTabId: sender.tab.id }, (newTab) => { if (sender.tab.groupId !== chrome.tabGroups.TAB_GROUP_ID_NONE) { chrome.tabs.group({ groupId: sender.tab.groupId, tabIds: newTab.id }); } }); } }); chrome.tabs.onCreated.addListener((tab) => { if (!tab.active) { chrome.tabs.update(tab.id, { active: true }); } });