We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a9fc8d commit c5f232cCopy full SHA for c5f232c
lib/utils.js
@@ -20,7 +20,7 @@ if (window.browser && browser.runtime && browser.runtime.getBrowserInfo)
20
var Utils = {
21
isFirefox: (function() {
22
// We want this browser check to also cover Firefox variants, like LibreWolf. See #3773.
23
- const isFirefox = typeof InstallTrigger !== 'undefined';
+ const isFirefox = (typeof browser === "object" && browser.runtime.getURL("").startsWith("moz"));
24
return () => isFirefox;
25
})(),
26
0 commit comments