devtools.network
API lets a devtools extension get information about network requests associated with the window that the devtools are attached to (the inspected window).
Like all the
devtools
APIs, this API is only available to code running in the document defined in the
devtools_page
manifest.json key, or in other devtools documents created by the extension (such as the panel's own document). See
Extending the developer tools
for more.
devtools.network.getHAR()
获取 HAR log for the page loaded in the current tab.
devtools.network.onNavigated
Fired when the user navigates the inspected window to a new page.
devtools.network.onRequestFinished
Fired when the a network request has finished and its details are available to the extension.
BCD tables only load in the browser
注意:
This API is based on Chromium's
chrome.devtools.network
API。
最后修改: , 由 MDN 贡献者