diff options
author | jahoti <jahoti@tilde.team> | 2021-07-18 00:00:00 +0000 |
---|---|---|
committer | jahoti <jahoti@tilde.team> | 2021-07-18 00:00:00 +0000 |
commit | ecb787046271de708b94da70240713e725299d86 (patch) | |
tree | 9c7968dd81bd54fcb63debe951207337e95911cd /content | |
parent | 8b823e1a6f29e52effc086d02dfe2e2812b2e187 (diff) | |
download | browser-extension-ecb787046271de708b94da70240713e725299d86.tar.gz browser-extension-ecb787046271de708b94da70240713e725299d86.zip |
Streamline and harden unique values/settings
The base URL is now included in the settings. The unique value no longer uses
it directly, as it is included by virtue of the settings; however, the number
of full hours since the epoch (UTC) is now incorporated.
Diffstat (limited to 'content')
-rw-r--r-- | content/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/main.js b/content/main.js index 317b319..a5e04fd 100644 --- a/content/main.js +++ b/content/main.js @@ -107,7 +107,7 @@ if (!is_privileged_url(document.URL)) { history.replaceState(null, "", targets.base_url); } - targets.policy = targets.valid_sig ? targets.policy : {}; + targets.policy = targets.current ? targets.policy : {}; const nonce = targets.policy.nonce || gen_nonce(); start_activity_info_server(); |