-
Mozilla’s WebExtensions polyfill is brilliant: github.com/mozilla/webextension-polyfill. So far my hack has been
window.browser = window.browser || window.chrome(github.com/google/service-worker-detector/blob/master/contentscript.js#L17). The other way round it’s way better. Thanks for the pointer, @gauntface. x.com/gauntface/status/987731632382590977