We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 497d8a1 + f150315 commit 7841aabCopy full SHA for 7841aab
src/main.js
@@ -70,9 +70,7 @@ Object.assign(extension, {
70
});
71
this.register(options.navigateNewTabKey, () => {
72
const link = results.items[results.focusedIndex];
73
- // NOTE: Firefox (tested in 58) somehow from single window.open() opened
74
- // a link twice. Using timeout solves the issue.
75
- window.setTimeout(() => window.open(link.anchor.href));
+ browser.runtime.sendMessage({type: 'tabsCreate', options: {url: link.anchor.href, active: true}});
76
77
this.register(options.navigateNewTabBackgroundKey, () => {
78
0 commit comments