diff --git a/src/ui/ui.js b/src/ui/ui.js index 2e88b0a..7a3fb6b 100644 --- a/src/ui/ui.js +++ b/src/ui/ui.js @@ -75,7 +75,9 @@ var UI = (() => { if (label) { const browserName = (await browser.runtime.getBrowserInfo()).name; if (browserName !== "Firefox") { - label.textContent = label.textContent.replace(/\bTor Browser\b/g, browserName); + label.textContent = label.textContent.replace(/\bTor Browser\b/g, + browserName.replace(/([\w])(Browser)$/, "$1 $2") + ); } } document.documentElement.classList.add("tor");