From 5a668ede01c95505f1fa649a034a3726a0956bb8 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Tue, 9 Dec 2025 14:24:24 +0200 Subject: [PATCH] chore(tab_navigation): reintroduce history cleaning --- apps/client/src/desktop.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/client/src/desktop.ts b/apps/client/src/desktop.ts index e77ba845b..b88eb8d4a 100644 --- a/apps/client/src/desktop.ts +++ b/apps/client/src/desktop.ts @@ -64,6 +64,9 @@ function initOnElectron() { if (options.get("nativeTitleBarVisible") !== "true") { initTitleBarButtons(style, currentWindow); } + + // Clear navigation history on frontend refresh. + currentWindow.webContents.navigationHistory.clear(); } function initTitleBarButtons(style: CSSStyleDeclaration, currentWindow: Electron.BrowserWindow) {