aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorV <vendicated@riseup.net>2023-09-21 18:56:58 +0200
committerV <vendicated@riseup.net>2023-09-21 18:56:58 +0200
commit97b6699afefe373d510dda5589a0754a4b380153 (patch)
tree112c8dd963aa4ed64702c9444738fbcca9d4674a /src/utils
parent7e91edc7577ba65fab08bc45c07cbd6f1756bd6f (diff)
downloadVencord-97b6699afefe373d510dda5589a0754a4b380153.tar.gz
Vencord-97b6699afefe373d510dda5589a0754a4b380153.tar.bz2
Vencord-97b6699afefe373d510dda5589a0754a4b380153.zip
Fuck you Mozilla
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/constants.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/constants.ts b/src/utils/constants.ts
index cd6a7a2..80f0787 100644
--- a/src/utils/constants.ts
+++ b/src/utils/constants.ts
@@ -385,3 +385,5 @@ export const DevsById = /* #__PURE__*/ (() =>
.map(([_, v]) => [v.id, v] as const)
))
)() as Record<string, Dev>;
+
+export const IsFirefox = IS_EXTENSION && navigator.userAgent.toLowerCase().includes("firefox");