Remove about: paths from showTabs as it prevents the tabs being created. Fixes #773
This commit is contained in:
parent
3cc40344af
commit
af2b4b79a9
1 changed files with 5 additions and 0 deletions
|
@ -74,6 +74,11 @@ const backgroundLogic = {
|
||||||
url = undefined;
|
url = undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// We can't open these we just have to throw them away
|
||||||
|
if (new URL(url).protocol === "about:") {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
return browser.tabs.create({
|
return browser.tabs.create({
|
||||||
url,
|
url,
|
||||||
active,
|
active,
|
||||||
|
|
Loading…
Add table
Reference in a new issue