Fixed regression: file:/// URLs reloaded whenever NoScript gets reinstalled / enabled / reloaded.
This commit is contained in:
parent
b38a561ac3
commit
2905a6a543
|
@ -93,7 +93,7 @@
|
|||
let setup = policy => {
|
||||
debug("Fetched %o, readyState %s", policy, document.readyState); // DEV_ONLY
|
||||
this.setup(policy);
|
||||
if (syncLoad && !localPolicy) {
|
||||
if (syncLoad && !localPolicy && originalState !== "complete") {
|
||||
sessionStorage.setItem(localPolicyKey, JSON.stringify(policy));
|
||||
location.reload(false);
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue