title: Chrome devtools extension: Am I inspecting a chrome internal page?
body: <p>I am writing a chrome devtools extension. When devtools is opened, I need to prompt the user; all good. The problem is when I use devtools to inspect the devtools window: there is a loop triggered.</p>
  
  <p>The solution would be to disable the extension when devtools is used to inspect an internal chrome:// page. But there isn't a clear way to check for this. I suppose I could evaluate code in the inspected window to check for the URL; this seems a bit messy. Is there a better way?</p>