webRequest API: How to get the requestId of a new request?
问题 The chrome.webRequest API has the concept of a request ID (source: Chrome webRequest documention): Request IDs Each request is identified by a request ID. This ID is unique within a browser session and the context of an extension. It remains constant during the the life cycle of a request and can be used to match events for the same request. Note that several HTTP requests are mapped to one web request in case of HTTP redirection or HTTP authentication. You can use it to correlate the