Merge pull request #775 from jonathanKingston/remove-unusable-paths-on-show
Remove about: paths from showTabs as it prevents the tabs being creat…
This commit is contained in:
@@ -68,6 +68,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,
|
||||||
|
|||||||
Reference in New Issue
Block a user