Reload page on interactive document state

This commit is contained in:
Ivan Grachev 2022-01-24 18:07:29 +03:00
parent b9176c61cc
commit 11a4ec256e

View File

@ -4,7 +4,7 @@ if (window.location.href.startsWith("https://tokenary.io/blank")) {
browser.runtime.sendMessage({ subject: "wakeUp" });
}
if (document.readyState === "complete") {
if (document.readyState != "loading") {
window.location.reload();
}