summaryrefslogtreecommitdiff
path: root/src/bg/deferWebTraffic.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/bg/deferWebTraffic.js')
-rw-r--r--src/bg/deferWebTraffic.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bg/deferWebTraffic.js b/src/bg/deferWebTraffic.js
index 571073a..fcfb0b9 100644
--- a/src/bg/deferWebTraffic.js
+++ b/src/bg/deferWebTraffic.js
@@ -16,7 +16,7 @@ function deferWebTraffic(promiseToWaitFor, next) {
try {
browser.tabs.executeScript(tabId, {
runAt: "document_start",
- code: "window.location.reload(false)"
+ code: "if (performance.now() < 60000) window.location.reload(false)"
});
debug("Reloading tab", tabId);
} catch (e) {