We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 935445e commit 4b016fcCopy full SHA for 4b016fc
extension/backgroundOmnibox.js
@@ -9,7 +9,9 @@ function openTab(searchUrl) {
9
chrome.tabs.update(tab.id, {url: searchUrl});
10
});
11
} else {
12
- chrome.tabs.create({ url: searchUrl });
+ chrome.tabs.getSelected(null, function(tab) {
13
+ chrome.tabs.create({url: searchUrl, index: tab.index + 1});
14
+ });
15
}
16
17
0 commit comments