summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/UA.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/UA.js b/src/lib/UA.js
index 1a1771a..438eaf6 100644
--- a/src/lib/UA.js
+++ b/src/lib/UA.js
@@ -1,5 +1,5 @@
var UA = {
- isMozilla: document.URL.startsWith("moz-"),
+ isMozilla: document.URL.startsWith("moz-") || typeof window.wrappedJSObject === "object",
}
if (!UA.isMozilla) {