support more browsers
This commit is contained in:
@@ -229,6 +229,9 @@ export function useBrowserManager() {
|
||||
if (iconKey === "chrome") return "CH";
|
||||
if (iconKey === "edge") return "ED";
|
||||
if (iconKey === "brave") return "BR";
|
||||
if (iconKey === "vivaldi") return "VI";
|
||||
if (iconKey === "yandex") return "YA";
|
||||
if (iconKey === "chromium") return "CR";
|
||||
|
||||
const name = current?.browserName?.trim() ?? "";
|
||||
if (name) {
|
||||
@@ -248,6 +251,9 @@ export function useBrowserManager() {
|
||||
if (iconKey === "chrome") return "CH";
|
||||
if (iconKey === "edge") return "ED";
|
||||
if (iconKey === "brave") return "BR";
|
||||
if (iconKey === "vivaldi") return "VI";
|
||||
if (iconKey === "yandex") return "YA";
|
||||
if (iconKey === "chromium") return "CR";
|
||||
|
||||
const letters = config.name
|
||||
.trim()
|
||||
|
||||
Reference in New Issue
Block a user