We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3de39e7 commit 7d2a5b2Copy full SHA for 7d2a5b2
1 file changed
src/runtime/background/gm_api.ts
@@ -486,7 +486,7 @@ export default class GMApi {
486
channel.disChannel();
487
}
488
} else {
489
- chrome.tabs.create({ url, active: options.active }, (tab) => {
+ chrome.tabs.create({ url, active: options.active || true }, (tab) => {
490
Cache.getInstance().set(`GM_openInTab:${tab.id}`, channel);
491
channel.send({ event: "oncreate", tabId: tab.id });
492
});
0 commit comments