diff options
author | hackademix | 2018-08-23 15:57:09 +0200 |
---|---|---|
committer | hackademix | 2018-08-23 15:57:09 +0200 |
commit | fc6251c0ab5baf917f892166c40f33cb9d7bff13 (patch) | |
tree | 994bacc34dc885204871647dae38d5f4f9a8df37 /src | |
parent | 80e1f10db51a4f78b3c89df5e347185a5ba16cb4 (diff) | |
download | noscript-fc6251c0ab5baf917f892166c40f33cb9d7bff13.tar.gz noscript-fc6251c0ab5baf917f892166c40f33cb9d7bff13.tar.xz noscript-fc6251c0ab5baf917f892166c40f33cb9d7bff13.zip |
Fixed typo causing accidental permissions/status mismatches being checked only while pages are still loading (thanks skriptimaahinen).
Diffstat (limited to 'src')
-rw-r--r-- | src/content/content.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/content.js b/src/content/content.js index 22dbf1e..9e40cc1 100644 --- a/src/content/content.js +++ b/src/content/content.js @@ -185,7 +185,7 @@ async function init(oldPage = false) { } if (!shouldScript && (document.readyState !== "complete" || - now() - performance.timing.domContentLoadedEvenStart < 5000)) { + now() - performance.timing.domContentLoadedEventStart < 5000)) { // Something wrong: scripts can run, permissions say they shouldn't. // Was webRequest bypassed by caching/session restore/service workers? window.stop(); |