Look for devtools global hook

It doesn't exist yet, but it could. And yes, this is basically identical to #953.

This also ensures we actually do our polyfill checks in *all* browsers,
not just Chrome.
Makes sense, realistically we should probably do `navigator.userAgent.indexOf('Chrome/')` or a regexp to avoid false-positives, but not really a big deal as it's dev only.