[TabGuard] Cut ties and restore authorization info on manual reloads.

This commit is contained in:
hackademix 2023-06-09 18:04:57 +02:00
parent abf2bac30e
commit 3d00084ed5
No known key found for this signature in database
GPG Key ID: 231A83AFDA9C2434
1 changed files with 3 additions and 0 deletions

View File

@ -91,6 +91,9 @@ var TabGuard = (() => {
// nav bar or bookmark
shouldCut = true;
break;
default:
// manual reload?
shouldCut = tab && tab.url === request.url && tab.active;
}
}
if (shouldCut) {