From 3547c444954f1dbb7394bdad18291a1720d34fed Mon Sep 17 00:00:00 2001 From: hackademix Date: Wed, 2 Oct 2019 00:35:15 +0200 Subject: Prevent startup tabs to remain stuck with about:blank. --- src/content/staticNS.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/content') diff --git a/src/content/staticNS.js b/src/content/staticNS.js index c1dbfa4..e5aaf3c 100644 --- a/src/content/staticNS.js +++ b/src/content/staticNS.js @@ -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; } -- cgit v1.2.3