Can I DevTools?
JavaScript
Edit
  1. In the Sources panel, click Add Resource (+) button in the bottom of the left sidebar > select "Inspector Bootstrap Script".
  2. Add the code snippet to override the behaviour of the global objects that is guaranteed to run before any other code.