06/07 Optimize app
CI / Python lint (flake8) (push) Has been cancelled
CI / Python syntax check (push) Has been cancelled
CI / Alembic migration chain (push) Has been cancelled
CI / JavaScript syntax check (push) Has been cancelled
CI / Build extension zip (push) Has been cancelled
CI / Python lint (flake8) (push) Has been cancelled
CI / Python syntax check (push) Has been cancelled
CI / Alembic migration chain (push) Has been cancelled
CI / JavaScript syntax check (push) Has been cancelled
CI / Build extension zip (push) Has been cancelled
This commit is contained in:
@@ -53,7 +53,7 @@ if (!chrome.storage.session) {
|
||||
|
||||
// ── Idle lock (timeout-based, no chrome.idle) ─────────────────────────────────
|
||||
|
||||
const DEFAULT_IDLE_LOCK_SECONDS = 600;
|
||||
const DEFAULT_IDLE_LOCK_SECONDS = 0;
|
||||
const IDLE_TIMEOUT_KEY = 'idle_lock_seconds';
|
||||
let _idleTimer = null;
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
|
||||
// ── Idle lock ─────────────────────────────────────────────────────────────────
|
||||
|
||||
// Default: 10 minutes. User can change via the Account view in the popup.
|
||||
const DEFAULT_IDLE_LOCK_SECONDS = 600;
|
||||
// Default: never lock (session clears naturally on browser close via chrome.storage.session).
|
||||
const DEFAULT_IDLE_LOCK_SECONDS = 0;
|
||||
const IDLE_TIMEOUT_KEY = "idle_lock_seconds";
|
||||
|
||||
/** Apply the idle detection interval, reading the user's saved preference. */
|
||||
|
||||
@@ -450,9 +450,9 @@
|
||||
<select id="acct-idle-timeout" class="acct-select">
|
||||
<option value="60">1 minute</option>
|
||||
<option value="300">5 minutes</option>
|
||||
<option value="600" selected>10 minutes (default)</option>
|
||||
<option value="600">10 minutes</option>
|
||||
<option value="1800">30 minutes</option>
|
||||
<option value="0">Never</option>
|
||||
<option value="0" selected>Never (default)</option>
|
||||
</select>
|
||||
<p id="acct-idle-saved" class="acct-saved hidden">✓ Saved</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user