I'm trying to customize my own chrome://inspect/#devices
, I see it uses utils.js
and inspect.js
and at the same time it uses a global "chrome" object in the original ones, how do I invoke it from my own inspect.js
? Right know I just have a local clone:
Clone folder of chrome://inspect/#devices
devices.html
inspect.js
util.js
jquery.js
So I load devices.html but is not working, and the first obstacle I have is that global object "chrome" is not available for inspect.js
.
I found a somehow related thread Can `chrome.*` extension API's be used inside content scripts?