| Index: ext/common.js |
| =================================================================== |
| --- a/ext/common.js |
| +++ b/ext/common.js |
| @@ -19,6 +19,11 @@ |
| (function() |
| { |
| + // Both Edge and Mozilla Web Extensions use |
| + // the namespace 'browser' instead of 'chrome' |
| + if (typeof browser != "undefined") |
| + window.chrome = window.browser; |
|
Sebastian Noack
2017/06/07 14:42:14
Firefox actually has the "chrome" namespace as wel
Oleksandr
2017/06/14 03:41:01
There is actually a `chrome` object defined in Edg
|
| + |
| window.ext = {}; |
| let EventTarget = ext._EventTarget = function() |