summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/share/js/bb.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/share/js/bb.js b/web/share/js/bb.js
index 0fa94ada..3a54e8e7 100644
--- a/web/share/js/bb.js
+++ b/web/share/js/bb.js
@@ -25,6 +25,7 @@
export var browser = new function() {
// https://stackoverflow.com/questions/9847580/how-to-detect-safari-chrome-ie-firefox-and-opera-browser/9851769
+ // https://github.com/fingerprintjs/fingerprintjs/discussions/641
// Opera 8.0+
let is_opera = (
@@ -34,7 +35,7 @@ export var browser = new function() {
);
// Firefox 1.0+
- let is_firefox = (typeof InstallTrigger !== "undefined");
+ let is_firefox = (typeof mozInnerScreenX !== "undefined");
// Safari 3.0+ "[object HTMLElementConstructor]"
let is_safari = (function() {