From 544fd480b19788622ab7d05180a2c67379182574 Mon Sep 17 00:00:00 2001 From: Thomas <150849104+Lecloow@users.noreply.github.com> Date: Wed, 11 Mar 2026 18:46:27 +0100 Subject: [PATCH] feat: close new tab popup on Cmd/Ctrl + T, p=#12734 --- src/zen/common/modules/ZenUIManager.mjs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/zen/common/modules/ZenUIManager.mjs b/src/zen/common/modules/ZenUIManager.mjs index 0178322ec..11a0fffd6 100644 --- a/src/zen/common/modules/ZenUIManager.mjs +++ b/src/zen/common/modules/ZenUIManager.mjs @@ -500,6 +500,12 @@ window.gZenUIManager = { return false; } + // Close the new tab popup on cmd/ctrl + t + if (!overridePreferance && gURLBar.hasAttribute("zen-newtab")) { + this.handleUrlbarClose(); + return true; + } + // Clear any existing timeout if (this._clearTimeout) { clearTimeout(this._clearTimeout);