aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/utils.coffee1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/utils.coffee b/lib/utils.coffee
index 78eed12c..520d5b8c 100644
--- a/lib/utils.coffee
+++ b/lib/utils.coffee
@@ -7,6 +7,7 @@ window.forTrusted ?= (handler) -> (event) ->
true
Utils =
+ isFirefox: -> 0 <= navigator.userAgent.indexOf "Firefox"
getCurrentVersion: ->
chrome.runtime.getManifest().version