Prevent startup tabs to remain stuck with about:blank.

This commit is contained in:
hackademix 2019-10-02 00:35:15 +02:00
parent a78117ff24
commit 3547c44495
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
let stopAndReload = beforeReloading => {
debug("Should I reload? %o, now: %s", performance.now())
if (performance.now() > 10000) {
if (location.href === "about:blank" || performance.now() > 10000 ) {
debug("Won't reload.");
return;
}