diff options
| author | mrmr1993 | 2017-09-07 12:55:57 +0100 |
|---|---|---|
| committer | mrmr1993 | 2017-09-12 11:42:35 +0100 |
| commit | 504e63cd9a833b236b3d7f87ea71d58707db8804 (patch) | |
| tree | 3f1487d69a7e2597c67d5248301b952ee50c0903 /background_scripts | |
| parent | 4d148a48ec375db2dc86f09f274bf5c3f76cce39 (diff) | |
| download | vimium-504e63cd9a833b236b3d7f87ea71d58707db8804.tar.bz2 | |
Use browser.runtime.getBrowserInfo to identify Firefox
Diffstat (limited to 'background_scripts')
| -rw-r--r-- | background_scripts/main.coffee | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index 412b8781..379239ae 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -311,6 +311,7 @@ Frames = isEnabledForUrl: ({request, tabId, port}) -> urlForTab[tabId] = request.url if request.frameIsFocused + request.isFirefox = Utils.isFirefox() # Update the value for Utils.isFirefox in the frontend. enabledState = Exclusions.isEnabledForUrl request.url if request.frameIsFocused |
