diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/UA.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/UA.js b/src/lib/UA.js index d87efbb..db5df9d 100644 --- a/src/lib/UA.js +++ b/src/lib/UA.js @@ -1,6 +1,6 @@ { let mozWebExtUrl = document.URL.startsWith("moz-"); - let isMozilla = mozWebExtUrl || window.wrappedJSObject === "object"; + let isMozilla = mozWebExtUrl || typeof window.wrappedJSObject === "object"; if (isMozilla) { if (mozWebExtUrl) { // help browser-specific UI styling |