==== background ==== Sorry for the bother. I'm new to chrome extension development. I found that I was unable to inject js code in chrome://inspec/#device (the chrome build-in page) by using tabs.executeScript.
My requirements is that, I'm trying to auto-catch the web-view network requests and responses. I finished this by created a devtools extension.
Meantime, I need to auto-detect the device list in the "chrome://inspect/#device" page, then inject the js code to click the "inspect" link to launch the devtools instead of manually clicked every time.
=== Issues === 1. I tried add content scrips, add the "chrome:///" matches, not work. 2. I then tried add permissions of "chrome:///", not work either.
So, how do I inject javascript code to the chrome setting pages "chrome://inspect/#device"?
Best Regards, Lucas Luo