From 5de0a7d93e0a3a459c282efac603b1c17592d5e5 Mon Sep 17 00:00:00 2001 From: zero77 <77jefferies@gmail.com> Date: Sun, 3 Sep 2017 14:18:24 +0100 Subject: [PATCH] Update privacy.js Can you please give the user a wider range of time to choose from, and leave it up to them what they set it at because, 15 seems quite a high minimum. Thanks --- src/js/privacy.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/js/privacy.js b/src/js/privacy.js index f28151b4..c8f6d901 100644 --- a/src/js/privacy.js +++ b/src/js/privacy.js @@ -73,9 +73,9 @@ function onChangeValueHandler(uelem, setting, min, max) { /******************************************************************************/ function prepareToDie() { - onChangeValueHandler(uDom('#delete-unused-session-cookies-after'), 'deleteUnusedSessionCookiesAfter', 15, 1440); - onChangeValueHandler(uDom('#clear-browser-cache-after'), 'clearBrowserCacheAfter', 15, 1440); - onChangeValueHandler(uDom('#spoof-user-agent-every'), 'spoofUserAgentEvery', 2, 999); + onChangeValueHandler(uDom('#delete-unused-session-cookies-after'), 'deleteUnusedSessionCookiesAfter', 1, 1440); + onChangeValueHandler(uDom('#clear-browser-cache-after'), 'clearBrowserCacheAfter', 1, 1440); + onChangeValueHandler(uDom('#spoof-user-agent-every'), 'spoofUserAgentEvery', 1, 999); } /******************************************************************************/ @@ -96,13 +96,13 @@ var installEventHandlers = function() { }); uDom('#delete-unused-session-cookies-after').on('change', function(){ - onChangeValueHandler(uDom(this), 'deleteUnusedSessionCookiesAfter', 15, 1440); + onChangeValueHandler(uDom(this), 'deleteUnusedSessionCookiesAfter', 1, 1440); }); uDom('#clear-browser-cache-after').on('change', function(){ - onChangeValueHandler(uDom(this), 'clearBrowserCacheAfter', 15, 1440); + onChangeValueHandler(uDom(this), 'clearBrowserCacheAfter', 1, 1440); }); uDom('#spoof-user-agent-every').on('change', function(){ - onChangeValueHandler(uDom(this), 'spoofUserAgentEvery', 2, 999); + onChangeValueHandler(uDom(this), 'spoofUserAgentEvery', 1, 999); }); uDom('#spoof-user-agent-with').on('change', function(){ changeUserSettings('spoofUserAgentWith', uDom(this).val());