Merge pull request #414 from jonathanKingston/remove-about-assign
Fixing about: scheme assignment. Fixes #413
This commit is contained in:
commit
f172f61afb
1 changed files with 2 additions and 1 deletions
|
@ -160,7 +160,8 @@ const assignManager = {
|
||||||
isTabPermittedAssign(tab) {
|
isTabPermittedAssign(tab) {
|
||||||
// Ensure we are not an important about url
|
// Ensure we are not an important about url
|
||||||
// Ensure we are not in incognito mode
|
// Ensure we are not in incognito mode
|
||||||
if (this.CLOSEABLE_WINDOWS.has(tab.url)
|
const url = new URL(tab.url);
|
||||||
|
if (url.protocol === "about:"
|
||||||
|| tab.incognito) {
|
|| tab.incognito) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue