From 97ef8f0d47e3ac09bdead7571baf6d6783204b05 Mon Sep 17 00:00:00 2001 From: hackademix Date: Thu, 30 Mar 2023 00:23:49 +0200 Subject: [PATCH] Fixed mislabeled Tor Browser settings override option. --- src/ui/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/ui.js b/src/ui/ui.js index 67ae443..2e88b0a 100644 --- a/src/ui/ui.js +++ b/src/ui/ui.js @@ -75,7 +75,7 @@ var UI = (() => { if (label) { const browserName = (await browser.runtime.getBrowserInfo()).name; if (browserName !== "Firefox") { - label.textContent = browserName; + label.textContent = label.textContent.replace(/\bTor Browser\b/g, browserName); } } document.documentElement.classList.add("tor");