0

Is it possible to prevent closing the "EXT_NAME started debugging this browser" bar when using chrome.debugger API? I'm developing an enterprise security extension to prevent navigation to certain websites and attach specific headers to all requests. declarativeNetRequest and webNavigation do not have all functionality I need for my use cases, so trying to use the debugger API. End users though should not be able to turn it off.

The bar appears after I attach to a tab with the code below:

chrome.debugger.attach({ tabId }, '1.3');

Thanks.

nikitakot
  • 75
  • 6
  • It's not possible but if you're the admin you can probably write an in-memory patcher that injects `--silent-debugger-extension-api` command line switch. – wOxxOm Nov 03 '22 at 18:31
  • @wOxxOm thanks for the idea, but i can't rely on any command line switches because the extension will be also deployed and used with ChromeOS kiosk PWAs. – nikitakot Nov 09 '22 at 08:23

0 Answers0