| Index: options.js |
| =================================================================== |
| --- a/options.js |
| +++ b/options.js |
| @@ -17,6 +17,11 @@ |
| "use strict"; |
| +// In Edge the namespace for extension APIs is 'browser'. The 'chrome' object, |
| +// while available does not contain the runtime object needed below. |
| +if (typeof chrome == "undefined" || typeof chrome.runtime == "undefined") |
| + window.chrome = window.browser; |
|
Sebastian Noack
2017/10/09 15:29:27
This fallback is duplicated in ext/common.js. Howe
|
| + |
| let iframe = document.getElementById("content"); |
| iframe.onload = () => |